diff options
Diffstat (limited to 'config/nvim')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 97dc63b..ddfd50f 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -50,28 +50,10 @@ return require("packer").startup(function() end } - -- tags managment - use { - "ludovicchabant/vim-gutentags", - config = function() - vim.g.gutentags_ctags_exclude = { - "doc/*", - "docs/*", - "Makefile", - ".mypy_cache", - ".pytest_cache", - ".tox", - "build/*", - "dist/*" - } - end - } - - -- nvim lsp configuration use { "neovim/nvim-lspconfig", - ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell"}, + ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell", "ocaml"}, config = function() local on_attach = function(_, bufnr) local opts = { noremap = true, silent = true } @@ -134,6 +116,9 @@ return require("packer").startup(function() -- brew install haskell-language-server lspconfig.hls.setup {} + -- opam install ocaml-lsp-server + lspconfig.ocamllsp.setup {} + -- package lua-language-server on ArchLinux -- lspconfig.sumneko_lua.setup { -- on_attach = on_attach , |
