diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-10-04 14:59:28 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-10-04 14:59:28 -0500 |
commit | 0fb2d82c34a63c51b0e5fcc458382540603d482e (patch) | |
tree | 3caeba2f3ac8fa27bd246606526bdc916965f601 | |
parent | 0517522fc5cabb6f36f4029c7e77797ef99dbbd9 (diff) | |
download | nvim-0fb2d82c34a63c51b0e5fcc458382540603d482e.tar.xz nvim-0fb2d82c34a63c51b0e5fcc458382540603d482e.zip |
use natively installed lsps instead of mason
-rw-r--r-- | lua/tjk/plugins/lsp.lua | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/lua/tjk/plugins/lsp.lua b/lua/tjk/plugins/lsp.lua index 5a73721..4caf7c0 100644 --- a/lua/tjk/plugins/lsp.lua +++ b/lua/tjk/plugins/lsp.lua @@ -1,17 +1,14 @@ return { "neovim/nvim-lspconfig", - dependencies = { - "williamboman/mason.nvim", -- install lsp's - "williamboman/mason-lspconfig.nvim", - "saghen/blink.cmp", -- to ensure lspconfig can get completion capabilities - }, config = function() - require("mason").setup() - require("mason-lspconfig").setup { automatic_installation = true } - local lspconfig = require("lspconfig") - lspconfig.pylsp.setup { - autostart = false, - capabilities = require("blink.cmp").get_lsp_capabilities() - } + vim.lsp.enable({ + "cssls", + "eslint", + "html", + "jsonls", + "pylsp", + "svelte", + "tailwindcss", + }) end } |