Plugin added: ts-rainbow range-highlight firenvim
This commit is contained in:
parent
ea8850339b
commit
3ec09fa157
@ -109,5 +109,21 @@ return require('packer').startup(function(use)
|
||||
requires = {'nvim-lua/plenary.nvim'},
|
||||
config = function() require('gitsigns').setup() end
|
||||
}
|
||||
use {
|
||||
'p00f/nvim-ts-rainbow',
|
||||
after = "nvim-treesitter",
|
||||
config = function() require "plugins.nvim-ts-rainbow" end
|
||||
}
|
||||
use {
|
||||
'winston0410/range-highlight.nvim',
|
||||
event = "BufRead",
|
||||
config = function() require("range-highlight").setup {} end,
|
||||
requires = 'winston0410/cmd-parser.nvim'
|
||||
}
|
||||
-- integrations
|
||||
use {
|
||||
'glacambre/firenvim',
|
||||
run = function() vim.fn['firenvim#install'](0) end
|
||||
}
|
||||
|
||||
end)
|
||||
|
@ -3,7 +3,5 @@ require("indent_blankline").setup {
|
||||
indent_blankline_buftype_exclude = {"terminal"},
|
||||
indentLine_enabled = 1,
|
||||
indent_blankline_char = "▏",
|
||||
show_current_context = true,
|
||||
indent_blankline_show_trailing_blankline_indent = false,
|
||||
indent_blankline_show_first_indent_level = false
|
||||
show_current_context = true
|
||||
}
|
||||
|
10
lua/plugins/nvim-ts-rainbow.lua
Normal file
10
lua/plugins/nvim-ts-rainbow.lua
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
@ -69,6 +69,10 @@ end
|
||||
time([[try_loadstring definition]], false)
|
||||
time([[Defining packer_plugins]], true)
|
||||
_G.packer_plugins = {
|
||||
["cmd-parser.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/start/cmd-parser.nvim"
|
||||
},
|
||||
["coq.artifacts"] = {
|
||||
load_after = {
|
||||
coq_nvim = true
|
||||
@ -89,6 +93,10 @@ _G.packer_plugins = {
|
||||
needs_bufread = false,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/emmet-vim"
|
||||
},
|
||||
firenvim = {
|
||||
loaded = true,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/start/firenvim"
|
||||
},
|
||||
["gitsigns.nvim"] = {
|
||||
config = { "\27LJ\1\0026\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\rgitsigns\frequire\0" },
|
||||
loaded = true,
|
||||
@ -171,12 +179,21 @@ _G.packer_plugins = {
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua"
|
||||
},
|
||||
["nvim-treesitter"] = {
|
||||
after = { "indent-blankline.nvim", "vim-matchup" },
|
||||
after = { "indent-blankline.nvim", "vim-matchup", "nvim-ts-rainbow" },
|
||||
config = { "\27LJ\1\0022\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\23plugins.treesitter\frequire\0" },
|
||||
loaded = false,
|
||||
needs_bufread = true,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-treesitter"
|
||||
},
|
||||
["nvim-ts-rainbow"] = {
|
||||
config = { "\27LJ\1\0027\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\28plugins.nvim-ts-rainbow\frequire\0" },
|
||||
load_after = {
|
||||
["nvim-treesitter"] = true
|
||||
},
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-ts-rainbow"
|
||||
},
|
||||
["nvim-web-devicons"] = {
|
||||
after = { "lualine.nvim" },
|
||||
load_after = {
|
||||
@ -196,6 +213,12 @@ _G.packer_plugins = {
|
||||
loaded = true,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/start/plenary.nvim"
|
||||
},
|
||||
["range-highlight.nvim"] = {
|
||||
config = { "\27LJ\1\2A\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\20range-highlight\frequire\0" },
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/range-highlight.nvim"
|
||||
},
|
||||
["shade.nvim"] = {
|
||||
config = { "\27LJ\1\2-\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\18plugins.shade\frequire\0" },
|
||||
loaded = false,
|
||||
@ -258,7 +281,7 @@ vim.cmd [[augroup packer_load_aucmds]]
|
||||
vim.cmd [[au!]]
|
||||
-- Event lazy-loads
|
||||
time([[Defining lazy-load event autocommands]], true)
|
||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-treesitter', 'vim-sandwich', 'nvim-lspconfig'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-treesitter', 'range-highlight.nvim', 'nvim-lspconfig', 'vim-sandwich'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType html,css ++once lua require("packer.load")({'emmet-vim'}, { event = "FileType html,css" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'packer.nvim', 'nvim-base16'}, { event = "VimEnter *" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'coq_nvim'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
||||
|
Loading…
Reference in New Issue
Block a user