This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Add note
pull/15/head
10sr
8 years ago
parent
5a4e091417
commit
a2af093626
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
micro/init.lua
+ 1
- 0
micro/init.lua
View File
@@ -1,6 +1,7 @@
-- ec = require("editorconfig_core")
local function getProperties(fullpath)
-- TODO: Avoid command injection vulnerability
local file = io.popen("editorconfig '" .. fullpath .. "'", "r")
local output = file:read("*all")
file:close()
Write
Preview
Loading…
Cancel
Save