浏览代码

fix commentstring for elixir files (#1321)

Abouzar Parvan 3 年之前
父节点
当前提交
ae118c5afc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ftplugin/elixir.lua

+ 1 - 0
ftplugin/elixir.lua

@@ -1,4 +1,5 @@
 require("lsp").setup "elixir"
 require("lsp").setup "elixir"
+vim.api.nvim_buf_set_option(0, "commentstring", "# %s")
 
 
 -- TODO: do we need this?
 -- TODO: do we need this?
 -- needed for the LSP to recognize elixir files (alternatively just use elixir-editors/vim-elixir)
 -- needed for the LSP to recognize elixir files (alternatively just use elixir-editors/vim-elixir)