aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorCharles Cabergs <charles.cabergs@colruytgroup.com>2022-06-10 15:34:37 +0200
committerCharles Cabergs <charles.cabergs@colruytgroup.com>2022-06-10 15:34:37 +0200
commit414a32702300e073d221d462599dd92f11ed9411 (patch)
tree321b4078940f1c4d806d0cde279a09bd985c2b0d /config/nvim/lua/plugins.lua
parent0f6ae6983de4c76f282add379f356ad68ff6d729 (diff)
downloaddotfiles-414a32702300e073d221d462599dd92f11ed9411.tar.gz
dotfiles-414a32702300e073d221d462599dd92f11ed9411.tar.bz2
dotfiles-414a32702300e073d221d462599dd92f11ed9411.zip
Added ocaml neovim lsp, removing gutentags
Diffstat (limited to 'config/nvim/lua/plugins.lua')
-rw-r--r--config/nvim/lua/plugins.lua23
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 ,