diff --git a/lazy-lock.json b/lazy-lock.json index a27dfbe..f4fde5e 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -21,9 +21,9 @@ "live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" }, "lsp-progress.nvim": { "branch": "main", "commit": "4c0ca0922564df696597ffd7ce16b01d061872e6" }, "lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "a31e011135a79d63c71254c250c9158e1056a1cb" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "a81503f0019942111fe464209237f8b4e85f4687" }, "mason-null-ls.nvim": { "branch": "main", "commit": "29ce60f9a16fef3de682a9365ef635f24ae92bf9" }, - "mason.nvim": { "branch": "main", "commit": "e52225531a8b622ff79c6e11ffd3df9acea8327b" }, + "mason.nvim": { "branch": "main", "commit": "698cd0c4f10480991e665f31977650858d625af1" }, "mini.animate": { "branch": "main", "commit": "b0c717ed5513b5f23e7c48615449c7dc9fabd05b" }, "mini.indentscope": { "branch": "main", "commit": "7998edc970610c05598c7aea3d21ece8dd87ed52" }, "neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" }, @@ -51,7 +51,7 @@ "telescope.nvim": { "branch": "master", "commit": "a3f17d3baf70df58b9d3544ea30abe52a7a832c2" }, "todo-comments.nvim": { "branch": "main", "commit": "077c59586d9d0726b0696dc5680eb863f4e04bc5" }, "toggleterm.nvim": { "branch": "main", "commit": "a5638b2206c3930a16a24e5c184dddd572f8cd34" }, - "tokyonight.nvim": { "branch": "main", "commit": "663657d65254a7920c05b5c0d67a28d003967c2f" }, + "tokyonight.nvim": { "branch": "main", "commit": "27203d70747094527d13575ed08f6a714e7a43f8" }, "trouble.nvim": { "branch": "main", "commit": "67337644e38144b444d026b0df2dc5fa0038930f" }, "vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" }, "vim-illuminate": { "branch": "master", "commit": "49062ab1dd8fec91833a69f0a1344223dd59d643" }, diff --git a/lua/custom/dashboard.lua b/lua/custom/dashboard.lua index eafd4c6..78edbee 100644 --- a/lua/custom/dashboard.lua +++ b/lua/custom/dashboard.lua @@ -22,4 +22,4 @@ -- 1 startify model -- 2 dashboard model -vim.g.pcode_model = 1 -- isi dengan 1 atau 2 untuk model dashboard +vim.g.pcode_model = 2 -- isi dengan 1 atau 2 untuk model dashboard diff --git a/lua/custom/plugins/ui.lua b/lua/custom/plugins/ui.lua index 11099be..671b8b7 100644 --- a/lua/custom/plugins/ui.lua +++ b/lua/custom/plugins/ui.lua @@ -3,9 +3,18 @@ return { -- simbol outline { "simrat39/symbols-outline.nvim", + lazy = true, event = "BufRead", config = function() require("symbols-outline").setup() end, }, + { + "nvim-lualine/lualine.nvim", + lazy = true, + event = "BufWinEnter", + config = function() + require("user.lualine") + end, + }, } diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index a38ac5e..ee1658c 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -8,6 +8,7 @@ return { -- coloring code { "nvim-treesitter/nvim-treesitter", + lazy = true, event = "BufRead", cmd = { "TSBufDisable", @@ -42,6 +43,7 @@ return { -- snippets { "L3MON4D3/LuaSnip", + lazy = true, dependencies = { "rafamadriz/friendly-snippets", config = function() @@ -95,13 +97,15 @@ return { -- }, { "williamboman/mason.nvim", + lazy = true, cmd = "Mason", keys = { { "cm", "Mason", desc = "Mason" } }, }, -- for formater linter - { "RRethy/vim-illuminate", event = "BufRead" }, + { "RRethy/vim-illuminate", event = "BufRead", lazy = true }, { "jayp0521/mason-null-ls.nvim", + lazy = true, dependencies = "jose-elias-alvarez/null-ls.nvim", event = "BufRead", opts = function() @@ -128,10 +132,11 @@ return { end, }, -- for install lsp tidak support mason - { "williamboman/nvim-lsp-installer", event = "VeryLazy" }, + { "williamboman/nvim-lsp-installer", event = "VeryLazy", lazy = true }, -- auto pairs { "windwp/nvim-autopairs", + lazy = true, commit = "4fc96c8f3df89b6d23e5092d31c866c53a346347", dependencies = "hrsh7th/nvim-cmp", event = "InsertEnter", @@ -142,6 +147,7 @@ return { -- untuk comment { "JoosepAlviste/nvim-ts-context-commentstring", + lazy = true, event = "BufRead", dependencies = "nvim-treesitter/nvim-treesitter", }, diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 53fbfe6..306073e 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -29,7 +29,7 @@ return { -- for tree exploler { "kyazdani42/nvim-tree.lua", - -- event = "BufWinEnter", + event = "InsertEnter", cmd = { "NvimTree", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" }, -- dependencies = "kyazdani42/nvim-web-devicons", config = function() @@ -59,8 +59,8 @@ return { { "akinsho/toggleterm.nvim", cmd = "Toggleterm", - event = "BufWinEnter", - init = function() + event = "VeryLazy", + config = function() require("user.toggleterm") end, }, @@ -68,7 +68,7 @@ return { { "folke/which-key.nvim", event = "VeryLazy", - init = function() + config = function() require("user.whichkey") end, },