Explorar o código

fix commentstring for elixir files (#1321)

Abouzar Parvan %!s(int64=3) %!d(string=hai) anos
pai
achega
ae118c5afc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ftplugin/elixir.lua

+ 1 - 0
ftplugin/elixir.lua

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