mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
update
This commit is contained in:
parent
9a27adbbcb
commit
bd3d45aad5
2 changed files with 26 additions and 25 deletions
|
@ -12,7 +12,19 @@ return {
|
|||
-- coloring code
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
event = "BufRead",
|
||||
dependencies = {
|
||||
{ "JoosepAlviste/nvim-ts-context-commentstring", event = "BufRead" },
|
||||
{ "p00f/nvim-ts-rainbow", event = "BufRead" },
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("nvim-ts-autotag").setup()
|
||||
end,
|
||||
},
|
||||
},
|
||||
cmd = {
|
||||
"TSBufDisable",
|
||||
"TSBufEnable",
|
||||
|
@ -28,20 +40,20 @@ return {
|
|||
"TSUpdate",
|
||||
"TSUpdateSync",
|
||||
},
|
||||
-- build = function()
|
||||
-- local status_ok, ts = pcall(require, "nvim-treesitter.install")
|
||||
-- if not status_ok then
|
||||
-- return
|
||||
-- end
|
||||
-- ts.update({ with_sync = true })()
|
||||
-- end,
|
||||
-- config = function()
|
||||
-- local status_ok, _ = pcall(require, "nvim-treesitter")
|
||||
-- if not status_ok then
|
||||
-- return
|
||||
-- end
|
||||
-- require("user.treesitter")
|
||||
-- end,
|
||||
build = function()
|
||||
local status_ok, ts = pcall(require, "nvim-treesitter.install")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
ts.update({ with_sync = true })()
|
||||
end,
|
||||
config = function()
|
||||
local status_ok, _ = pcall(require, "nvim-treesitter")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
require("user.treesitter")
|
||||
end,
|
||||
},
|
||||
-- snippets
|
||||
{
|
||||
|
@ -176,7 +188,6 @@ return {
|
|||
end,
|
||||
},
|
||||
-- untuk comment
|
||||
{ "JoosepAlviste/nvim-ts-context-commentstring", event = "BufRead" },
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
event = "BufRead",
|
||||
|
@ -214,14 +225,6 @@ return {
|
|||
-- for multi cursor select
|
||||
{ "mg979/vim-visual-multi", event = "BufRead" },
|
||||
-- for auto close tag
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
event = "BufRead",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
config = function()
|
||||
require("nvim-ts-autotag").setup()
|
||||
end,
|
||||
},
|
||||
-- for auto detection file and run code
|
||||
{
|
||||
"CRAG666/code_runner.nvim",
|
||||
|
@ -311,7 +314,6 @@ return {
|
|||
-- for check startuptime
|
||||
{ "dstein64/vim-startuptime", cmd = "StartupTime", event = "BufRead" },
|
||||
-- for coloring pairs
|
||||
{ "p00f/nvim-ts-rainbow", event = "BufRead", dependencies = "nvim-treesitter/nvim-treesitter" },
|
||||
-- for git
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue