demo and ts_ls fix
This commit is contained in:
BIN
demotf.mp4
Normal file
BIN
demotf.mp4
Normal file
Binary file not shown.
13
init.lua
13
init.lua
@@ -236,7 +236,7 @@ capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
require("mason").setup()
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = {
|
||||
"lua_ls", "pyright", "ruff", "tsserver", "html", "cssls",
|
||||
"lua_ls", "pyright", "ruff", "ls_ls", "html", "cssls",
|
||||
"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 })
|
||||
end
|
||||
|
||||
@@ -382,12 +382,3 @@ require("nvim-treesitter.configs").setup({
|
||||
highlight = { 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")
|
||||
|
||||
Reference in New Issue
Block a user