Added lsp-rooter and ts-rainbow

This commit is contained in:
Oliver Hartmann 2021-09-09 20:27:11 +02:00
parent 9074078a98
commit f464972ef0
2 changed files with 14 additions and 0 deletions

View File

@ -122,3 +122,15 @@ require('neoclip').setup()
require('telescope').load_extension('neoclip')
-------------------- LUALINE -------------------------------
require('lualine').setup()
-------------------- LSP-ROOTER ----------------------------
require("lsp-rooter").setup { }
-------------------- TS-RAINBOW ----------------------------
require'nvim-treesitter.configs'.setup {
rainbow = {
enable = true,
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
max_file_lines = nil, -- Do not enable for files with more than n lines, int
-- colors = {}, -- table of hex strings
-- termcolors = {} -- table of colour name strings
}
}

View File

@ -36,4 +36,6 @@ return require('packer').startup(function()
'hoob3rt/lualine.nvim',
requires = {'kyazdani42/nvim-web-devicons', opt = true}
}
use {'ahmedkhalf/lsp-rooter.nvim'}
use {'p00f/nvim-ts-rainbow'}
end)