浏览代码

feat: add support for fsharp (#2021)

Co-authored-by: grenaad <g@g.com>
Co-authored-by: grenaad <dan4rie@gmail.com>
kylo252 3 年之前
父节点
当前提交
77bf0e3ea8
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      ftdetect/fsautocomplete.lua
  2. 1 0
      lua/lvim/config/supported_languages.lua

+ 3 - 0
ftdetect/fsautocomplete.lua

@@ -0,0 +1,3 @@
+vim.cmd [[
+  au BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp
+]]

+ 1 - 0
lua/lvim/config/supported_languages.lua

@@ -26,6 +26,7 @@ return {
   "fennel",
   "fish",
   "fortran",
+  "fsharp",
   "gdscript",
   "glimmer",
   "go",