Update neovim treesitter and other plugins
This commit is contained in:
@@ -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,8 +2,7 @@ return {
|
||||
{ 'airblade/vim-gitgutter' },
|
||||
{ 'tpope/vim-fugitive' },
|
||||
{
|
||||
'sindrets/diffview.nvim',
|
||||
dependencies = {'nvim-lua/plenary.nvim'},
|
||||
opts = {}
|
||||
'dlyongemallo/diffview.nvim',
|
||||
version = '*'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,11 +45,5 @@ return {
|
||||
},
|
||||
}
|
||||
end
|
||||
},
|
||||
{
|
||||
'vim-vdebug/vdebug',
|
||||
config = function()
|
||||
vim.g.vdebug_options = { port = '9000' }
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
require'nvim-treesitter'.setup()
|
||||
require'nvim-treesitter'.install {
|
||||
'haskell', 'php', 'lua', 'css', 'dockerfile', 'html', 'javascript', 'markdown', 'ruby', 'vue'
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = true
|
||||
}
|
||||
}
|
||||
end
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@ return {
|
||||
{
|
||||
'sainnhe/sonokai',
|
||||
config = function()
|
||||
vim.g.sonokai_style = "maia"
|
||||
vim.g.sonokai_style = "shusia"
|
||||
vim.cmd('colorscheme sonokai')
|
||||
end
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user