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.expandtab = true
vim.bo.softtabstop = 4 vim.bo.softtabstop = 4
vim.bo.shiftwidth = 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' }, { 'airblade/vim-gitgutter' },
{ 'tpope/vim-fugitive' }, { 'tpope/vim-fugitive' },
{ {
'sindrets/diffview.nvim', 'dlyongemallo/diffview.nvim',
dependencies = {'nvim-lua/plenary.nvim'}, version = '*'
opts = {}
} }
} }
-6
View File
@@ -45,11 +45,5 @@ return {
}, },
} }
end end
},
{
'vim-vdebug/vdebug',
config = function()
vim.g.vdebug_options = { port = '9000' }
end
} }
} }
+10 -11
View File
@@ -27,26 +27,25 @@ return {
end end
}, },
{ -- Tag bar. { -- Tag bar.
'liuchengxu/vista.vim', 'hedyhli/outline.nvim',
lazy = false,
config = function() 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 end
}, },
{ {
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
lazy = false, lazy = false,
branch = 'master', branch = 'main',
build = ':TSUpdate', build = ':TSUpdate',
config = function() config = function()
require'nvim-treesitter'.setup { require'nvim-treesitter'.setup()
ensure_installed = { require'nvim-treesitter'.install {
'haskell', 'php', 'lua', 'css', 'dockerfile', 'html', 'javascript', 'markdown', 'ruby', 'vue' 'haskell', 'php', 'lua', 'css', 'dockerfile', 'html', 'javascript', 'markdown', 'ruby', 'vue'
},
highlight = {
enable = true,
additional_vim_regex_highlighting = true
}
} }
end end
}, },
+1 -1
View File
@@ -2,7 +2,7 @@ return {
{ {
'sainnhe/sonokai', 'sainnhe/sonokai',
config = function() config = function()
vim.g.sonokai_style = "maia" vim.g.sonokai_style = "shusia"
vim.cmd('colorscheme sonokai') vim.cmd('colorscheme sonokai')
end end
}, },