mirror of
https://github.com/eRgo35/neovim.git
synced 2026-02-04 13:56:10 +01:00
feat: misc programming plugins
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user