From ae118c5afc0a533118059a4681a2736055e8a2bc Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Sun, 15 Aug 2021 00:17:41 +0430 Subject: fix commentstring for elixir files (#1321) --- ftplugin/elixir.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'ftplugin') diff --git a/ftplugin/elixir.lua b/ftplugin/elixir.lua index f8ae8b64..2d4c90e2 100644 --- a/ftplugin/elixir.lua +++ b/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) -- cgit v1.2.3