aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2023-12-03 14:34:11 +0100
committerCharles Cabergs <me@cacharle.xyz>2023-12-03 14:34:11 +0100
commitc577c214d03cc1b99265681243ed8d0013b40605 (patch)
tree1290b966bf5ebfe6d12e8a5e5725923e25149c91 /config/nvim/lua/plugins.lua
parent6245153b2dfa632bc6e143acd5957e52f8506cb0 (diff)
downloaddotfiles-c577c214d03cc1b99265681243ed8d0013b40605.tar.gz
dotfiles-c577c214d03cc1b99265681243ed8d0013b40605.tar.bz2
dotfiles-c577c214d03cc1b99265681243ed8d0013b40605.zip
Add odin lsp
Diffstat (limited to 'config/nvim/lua/plugins.lua')
-rw-r--r--config/nvim/lua/plugins.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index b4cb0ee..e53a411 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -68,7 +68,7 @@ return require("packer").startup(function()
-- nvim lsp configuration
use {
"neovim/nvim-lspconfig",
- ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell", "ocaml", "zig", "yaml"},
+ ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell", "ocaml", "zig", "yaml", "odin"},
config = function()
vim.diagnostic.config {
signs = false,
@@ -185,6 +185,7 @@ return require("packer").startup(function()
}
}
}
+ lspconfig.ols.setup{ on_attach = on_attach }
end,
}
@@ -388,14 +389,17 @@ return require("packer").startup(function()
"haskell",
"json",
"lua",
+ "make",
"markdown",
"meson",
+ "odin",
"python",
"query",
"rust",
"vim",
"vimdoc",
"yaml",
+ "zig",
},
highlight = {
enable = true