aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/lsp.lua')
-rw-r--r--nvim/lua/plugins/lsp.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
new file mode 100644
index 0000000..a903819
--- /dev/null
+++ b/nvim/lua/plugins/lsp.lua
@@ -0,0 +1,35 @@
+return {
+ {
+ "neovim/nvim-lspconfig",
+ },
+ {
+ "lukas-reineke/lsp-format.nvim",
+ opts = {
+ yaml = {
+ exclude = {
+ "none-ls",
+ },
+ },
+ },
+ },
+ {
+ 'nvim-treesitter/nvim-treesitter',
+ lazy = false,
+ build = ':TSUpdate',
+ opts = {
+ ensure_installed = {
+ "zig",
+ "rust",
+ "java",
+ "nix",
+ "yaml",
+ "typescript",
+ "javascript",
+ "lua",
+ },
+ incremental_selection = {
+ enable = true,
+ },
+ },
+ },
+}