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