summaryrefslogtreecommitdiff
path: root/ftdetect/sol.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-10-08 08:33:37 +0200
committerkylo252 <[email protected]>2021-10-08 08:33:37 +0200
commit68d2678af32cea932f4860f4144e9efd9ec03ed1 (patch)
tree1cfb4abbaa31d2225a815e152dda03fca1c82808 /ftdetect/sol.lua
parentc0e3c8d43ae6ca011e4036329ae31115957d1394 (diff)
feat: add filetype detection for solidity
Diffstat (limited to 'ftdetect/sol.lua')
-rw-r--r--ftdetect/sol.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/sol.lua b/ftdetect/sol.lua
new file mode 100644
index 00000000..b716f759
--- /dev/null
+++ b/ftdetect/sol.lua
@@ -0,0 +1,3 @@
+vim.cmd [[
+ au BufRead,BufNewFile *.sol set filetype=solidity
+]]