added rainbow
This commit is contained in:
+9
-1
@@ -74,7 +74,7 @@ augroup END
|
|||||||
---------------
|
---------------
|
||||||
local pyenv_root = vim.env.PYENV_ROOT
|
local pyenv_root = vim.env.PYENV_ROOT
|
||||||
if pyenv_root ~= nil then
|
if pyenv_root ~= nil then
|
||||||
g.python3_host_prog = pyenv_root .. '/shims/python3'
|
g.python3_host_prog = pyenv_root .. "/shims/python3"
|
||||||
else
|
else
|
||||||
g.python3_host_prog = "/usr/bin/python3"
|
g.python3_host_prog = "/usr/bin/python3"
|
||||||
end
|
end
|
||||||
@@ -114,6 +114,14 @@ require("nvim-treesitter.configs").setup({
|
|||||||
enable = true,
|
enable = true,
|
||||||
disable = { "typescript", "tsx", "html", "javascript" },
|
disable = { "typescript", "tsx", "html", "javascript" },
|
||||||
},
|
},
|
||||||
|
rainbow = {
|
||||||
|
enable = true,
|
||||||
|
-- disable = { "jsx", "cpp" }, list of languages you want to disable the plugin for
|
||||||
|
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
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ require("packer").startup(function()
|
|||||||
-- LSP
|
-- LSP
|
||||||
use("hrsh7th/nvim-cmp") -- Autocompletion plugin
|
use("hrsh7th/nvim-cmp") -- Autocompletion plugin
|
||||||
--use "saadparwaiz1/cmp_luasnip" -- Snippets source for nvim-cmp
|
--use "saadparwaiz1/cmp_luasnip" -- Snippets source for nvim-cmp
|
||||||
|
use("p00f/nvim-ts-rainbow")
|
||||||
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
||||||
use("neovim/nvim-lspconfig") -- Collection of configurations for built-in LSP client
|
use("neovim/nvim-lspconfig") -- Collection of configurations for built-in LSP client
|
||||||
use("williamboman/nvim-lsp-installer")
|
use("williamboman/nvim-lsp-installer")
|
||||||
|
|||||||
Reference in New Issue
Block a user