diff --git a/init.lua b/init.lua index 2e478b5..a9a4359 100644 --- a/init.lua +++ b/init.lua @@ -4,6 +4,13 @@ vim.pack.add({ { src = "https://github.com/nvim-mini/mini.icons" }, { src = "https://github.com/nvim-mini/mini.pick" }, + { src = "https://github.com/lewis6991/gitsigns.nvim" }, + { src = "https://github.com/windwp/nvim-autopairs" }, + { src = "https://github.com/j-hui/fidget.nvim" }, + { src = "https://github.com/folke/todo-comments.nvim" }, + + -- { src = "https://github.com/numToStr/Comment.nvim" }, + { src = "https://github.com/saghen/blink.cmp", version = "v1.9.1" }, { src = "https://github.com/rafamadriz/friendly-snippets" }, @@ -140,7 +147,7 @@ local setup_blink = function() -- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"` -- -- See the fuzzy documentation for more information - fuzzy = { implementation = "prefer_rust" }, + fuzzy = { implementation = "prefer_rust_with_warning" }, }) end @@ -234,8 +241,6 @@ local setup_mason_and_lsp = function() require("typescript-tools").setup({ capabilities = capabilities, settings = { - separate_diagnostic_server = true, - publish_diagnostic_on = "insert_leave", expose_as_code_action = { "all" }, complete_function_calls = true, }, @@ -251,3 +256,6 @@ setup_hop() setup_treesitter() setup_conform() keymaps() + +require("nvim-autopairs").setup({}) +require("todo-comments").setup({ signs = false }) diff --git a/nvim-pack-lock.json b/nvim-pack-lock.json index b82419b..80047ad 100644 --- a/nvim-pack-lock.json +++ b/nvim-pack-lock.json @@ -1,5 +1,9 @@ { "plugins": { + "Comment.nvim": { + "rev": "e30b7f2008e52442154b66f7c519bfd2f1e32acb", + "src": "https://github.com/numToStr/Comment.nvim" + }, "blink.cmp": { "rev": "4b18c32adef2898f95cdef6192cbd5796c1a332d", "src": "https://github.com/saghen/blink.cmp", @@ -13,10 +17,18 @@ "rev": "b03a03148c8b34c24c96960b93da9c8883d11f54", "src": "https://github.com/sainnhe/everforest" }, + "fidget.nvim": { + "rev": "7fa433a83118a70fe24c1ce88d5f0bd3453c0970", + "src": "https://github.com/j-hui/fidget.nvim" + }, "friendly-snippets": { "rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9", "src": "https://github.com/rafamadriz/friendly-snippets" }, + "gitsigns.nvim": { + "rev": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3", + "src": "https://github.com/lewis6991/gitsigns.nvim" + }, "gruvbox-material": { "rev": "790afe9dd085aa04eccd1da3626c5fa05c620e53", "src": "https://github.com/sainnhe/gruvbox-material" @@ -45,6 +57,10 @@ "rev": "4ad37ade984e69c43227b82ccdca5a92a22886de", "src": "https://github.com/nvim-mini/mini.pick" }, + "nvim-autopairs": { + "rev": "59bce2eef357189c3305e25bc6dd2d138c1683f5", + "src": "https://github.com/windwp/nvim-autopairs" + }, "nvim-emmet": { "rev": "cde4fb2968704aae5c18b7f8a9bc2508767bb78d", "src": "https://github.com/olrtg/nvim-emmet" @@ -73,6 +89,10 @@ "rev": "95041d1d78e786bd88be64bca3e1771f7b6236df", "src": "https://github.com/serhez/teide.nvim" }, + "todo-comments.nvim": { + "rev": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668", + "src": "https://github.com/folke/todo-comments.nvim" + }, "trouble.nvim": { "rev": "bd67efe408d4816e25e8491cc5ad4088e708a69a", "src": "https://github.com/folke/trouble.nvim"