浏览代码

feat: add filetype detection for solidity

kylo252 3 年之前
父节点
当前提交
68d2678af3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ftdetect/sol.lua

+ 3 - 0
ftdetect/sol.lua

@@ -0,0 +1,3 @@
+vim.cmd [[
+ au BufRead,BufNewFile *.sol set filetype=solidity
+]]