1
0

Update neovim treesitter and other plugins

This commit is contained in:
2026-05-18 01:27:56 +02:00
parent b16452927e
commit c109123479
5 changed files with 18 additions and 22 deletions
+4
View File
@@ -2,3 +2,7 @@ vim.bo.tabstop = 8
vim.bo.expandtab = true
vim.bo.softtabstop = 4
vim.bo.shiftwidth = 4
vim.treesitter.start()
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
+2 -3
View File
@@ -2,8 +2,7 @@ return {
{ 'airblade/vim-gitgutter' },
{ 'tpope/vim-fugitive' },
{
'sindrets/diffview.nvim',
dependencies = {'nvim-lua/plenary.nvim'},
opts = {}
'dlyongemallo/diffview.nvim',
version = '*'
}
}
-6
View File
@@ -45,11 +45,5 @@ return {
},
}
end
},
{
'vim-vdebug/vdebug',
config = function()
vim.g.vdebug_options = { port = '9000' }
end
}
}
+11 -12
View File
@@ -27,26 +27,25 @@ return {
end
},
{ -- Tag bar.
'liuchengxu/vista.vim',
lazy = false,
'hedyhli/outline.nvim',
config = function()
vim.g.vista_default_executive = 'nvim_lsp'
vim.keymap.set("n", "<leader>o", "<cmd>Outline<CR>",
{ desc = "Toggle Outline" })
require("outline").setup {
-- Your setup opts here (leave empty to use defaults)
}
end
},
{
'nvim-treesitter/nvim-treesitter',
lazy = false,
branch = 'master',
branch = 'main',
build = ':TSUpdate',
config = function()
require'nvim-treesitter'.setup {
ensure_installed = {
'haskell', 'php', 'lua', 'css', 'dockerfile', 'html', 'javascript', 'markdown', 'ruby', 'vue'
},
highlight = {
enable = true,
additional_vim_regex_highlighting = true
}
require'nvim-treesitter'.setup()
require'nvim-treesitter'.install {
'haskell', 'php', 'lua', 'css', 'dockerfile', 'html', 'javascript', 'markdown', 'ruby', 'vue'
}
end
},
+1 -1
View File
@@ -2,7 +2,7 @@ return {
{
'sainnhe/sonokai',
config = function()
vim.g.sonokai_style = "maia"
vim.g.sonokai_style = "shusia"
vim.cmd('colorscheme sonokai')
end
},