feat: misc programming plugins

This commit is contained in:
2024-12-31 12:54:23 +01:00
parent 7c50a16fd8
commit ba342d13e5
2 changed files with 67 additions and 0 deletions

View File

@@ -16,6 +16,23 @@ for _, lsp in ipairs(servers) do
} }
end end
lspconfig.svelte.setup {}
lspconfig.clangd.setup {
on_attach = function (client, bufnr)
client.server_capabilities.signatureHelpProvider = false
on_attach(client, bufnr)
end,
capabilities = capabilities,
}
-- configuring single server, example: typescript
lspconfig.ts_ls.setup {
on_attach = nvlsp.on_attach,
on_init = nvlsp.on_init,
capabilities = nvlsp.capabilities,
}
-- configuring single server, example: typescript -- configuring single server, example: typescript
-- lspconfig.ts_ls.setup { -- lspconfig.ts_ls.setup {
-- on_attach = nvlsp.on_attach, -- on_attach = nvlsp.on_attach,

View File

@@ -1,4 +1,9 @@
return { return {
{
"christoomey/vim-tmux-navigator",
lazy = false,
},
{ {
"stevearc/conform.nvim", "stevearc/conform.nvim",
event = "BufWritePre", -- uncomment for format on save event = "BufWritePre", -- uncomment for format on save
@@ -13,6 +18,51 @@ return {
end, end,
}, },
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"vimdoc",
"html",
"css",
"javascript",
"typescript",
"c",
"markdown",
"haskell",
"json",
"toml",
},
},
},
{
"nanotee/zoxide.vim",
lazy = false,
},
{
"othree/html5.vim",
},
{
"pangloss/vim-javascript",
},
{
"evanleck/vim-svelte",
},
{
"max397574/better-escape.nvim",
event = "InsertEnter",
config = function()
require("better_escape").setup()
end,
},
-- { -- {
-- "nvim-treesitter/nvim-treesitter", -- "nvim-treesitter/nvim-treesitter",
-- opts = { -- opts = {