diff --git a/lazy-lock.json b/lazy-lock.json index 403d58a..fd02118 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -47,7 +47,6 @@ "telescope.nvim": { "branch": "master", "commit": "3915d933dc19d31571d2953ca9461fe6fa117a6e" }, "todo-comments.nvim": { "branch": "main", "commit": "077c59586d9d0726b0696dc5680eb863f4e04bc5" }, "toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" }, - "tokyonight.nvim": { "branch": "main", "commit": "a0abe53df53616d13da327636cb0bcac3ea7f5af" }, "vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" }, "vim-illuminate": { "branch": "master", "commit": "49062ab1dd8fec91833a69f0a1344223dd59d643" }, "vim-startuptime": { "branch": "master", "commit": "5f52ed26e0296a3e1d1453935f417e5808eefab8" }, diff --git a/lua/core/init.lua b/lua/core/init.lua index 8cd9efe..9b86052 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -3,7 +3,7 @@ require("user.options") require("user.keymaps") require("user.autocommands") require("user.format_onsave") --- require("user.colorscheme") +require("user.colorscheme") -- require("user.snip") -- require("user.bufferline") -- require("user.chat_gpt") diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 5969fe4..f3bff25 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -12,19 +12,9 @@ return { -- coloring code { "nvim-treesitter/nvim-treesitter", + lazy = false, -- make sure we load this during startup if it is your main colorscheme 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", @@ -188,6 +178,7 @@ return { end, }, -- untuk comment + { "JoosepAlviste/nvim-ts-context-commentstring", event = "BufRead" }, { "numToStr/Comment.nvim", event = "BufRead", @@ -225,6 +216,14 @@ 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", @@ -314,6 +313,7 @@ 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", diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index a881ed7..f4c2c95 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -1,21 +1,21 @@ return { -- color scheme - { - "folke/tokyonight.nvim", - -- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764", - lazy = false, -- make sure we load this during startup if it is your main colorscheme - priority = 1000, -- make sure to load this before all the other start plugins - config = function() - local is_transparant = false - if is_transparant then - require("user.tokyonight_transparant") - else - require("user.tokyonight") - end - -- require("core") - require("user.colorscheme") - end, - }, + -- { + -- "folke/tokyonight.nvim", + -- -- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764", + -- lazy = false, -- make sure we load this during startup if it is your main colorscheme + -- priority = 1000, -- make sure to load this before all the other start plugins + -- config = function() + -- local is_transparant = false + -- if is_transparant then + -- require("user.tokyonight_transparant") + -- else + -- require("user.tokyonight") + -- end + -- -- require("core") + -- require("user.colorscheme") + -- end, + -- }, -- { -- "navarasu/onedark.nvim", -- init = function()