demo and ts_ls fix

This commit is contained in:
rattatwinko
2025-06-12 10:57:04 +02:00
parent cbd87b0b11
commit 2783249517
2 changed files with 2 additions and 11 deletions

BIN
demotf.mp4 Normal file

Binary file not shown.

View File

@@ -236,7 +236,7 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
require("mason").setup() require("mason").setup()
require("mason-lspconfig").setup({ require("mason-lspconfig").setup({
ensure_installed = { ensure_installed = {
"lua_ls", "pyright", "ruff", "tsserver", "html", "cssls", "lua_ls", "pyright", "ruff", "ls_ls", "html", "cssls",
"tailwindcss", "bashls", "jsonls", "yamlls", "dockerls" "tailwindcss", "bashls", "jsonls", "yamlls", "dockerls"
}, },
}) })
@@ -254,7 +254,7 @@ lspconfig.lua_ls.setup({
}, },
}) })
for _, server in ipairs({ "pyright", "tsserver", "html", "cssls", "bashls", "jsonls" }) do for _, server in ipairs({ "pyright", "ts_ls", "html", "cssls", "bashls", "jsonls" }) do
lspconfig[server].setup({ capabilities = capabilities }) lspconfig[server].setup({ capabilities = capabilities })
end end
@@ -382,12 +382,3 @@ require("nvim-treesitter.configs").setup({
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },
}) })
-- ======================
-- 7. Final Setup
-- ======================
print("🚀 Neovim configuration fully loaded with all keybindings:")
print(" - General navigation and file management")
print(" - Advanced editing and LSP features")
print(" - Complete Git integration")
print(" - Terminal and buffer management")