From 414a32702300e073d221d462599dd92f11ed9411 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 10 Jun 2022 15:34:37 +0200 Subject: Added ocaml neovim lsp, removing gutentags --- config/nvim/lua/plugins.lua | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'config/nvim/lua') 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 , -- cgit