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 From a190306e477a95b7dd91e375c0cf82e0b72b1cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=C3=BAc=20L=C3=AA=20Kh=E1=BA=AFc?= Date: Wed, 18 Aug 2021 15:44:10 +0100 Subject: [Feature]: LSP Fortran (#1342) * null-ls needs to be pinned as well * unpin null-ls * lsp: fortran Co-authored-by: Abouzar Parvan Co-authored-by: christianchiarulli --- ftplugin/fortran.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 ftplugin/fortran.lua (limited to 'ftplugin') diff --git a/ftplugin/fortran.lua b/ftplugin/fortran.lua new file mode 100644 index 00000000..36f4f484 --- /dev/null +++ b/ftplugin/fortran.lua @@ -0,0 +1 @@ +require("lsp").setup "fortran" -- cgit v1.2.3 From a4073e9992010e3bcb429d266bc077dabf5956a7 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 19 Aug 2021 13:14:55 +0430 Subject: support nix language (#1347) --- ftplugin/nix.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 ftplugin/nix.lua (limited to 'ftplugin') diff --git a/ftplugin/nix.lua b/ftplugin/nix.lua new file mode 100644 index 00000000..41152a75 --- /dev/null +++ b/ftplugin/nix.lua @@ -0,0 +1 @@ +require("lsp").setup "nix" -- cgit v1.2.3 From 8bd731a8f7fd53595d6e90509e2e23c957cf171b Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Sat, 28 Aug 2021 10:26:15 -0400 Subject: netrw ftplugin --- ftplugin/netrw.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ftplugin/netrw.lua (limited to 'ftplugin') diff --git a/ftplugin/netrw.lua b/ftplugin/netrw.lua new file mode 100644 index 00000000..b2292870 --- /dev/null +++ b/ftplugin/netrw.lua @@ -0,0 +1,2 @@ +vim.cmd [[nmap h -]] +vim.cmd [[nmap l ]] -- cgit v1.2.3