summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lazy-lock.json33
-rw-r--r--.config/nvim/lua/plugins/autopairs.lua6
-rw-r--r--.config/nvim/lua/plugins/bufferline.lua23
-rw-r--r--.config/nvim/lua/plugins/editor.lua3
-rw-r--r--.config/nvim/lua/plugins/indent-blankline.lua20
-rw-r--r--.config/nvim/lua/plugins/treesitter.lua1
-rw-r--r--.config/nvim/lua/plugins/trouble.lua15
-rw-r--r--.config/nvim/lua/plugins/which-key.lua6
8 files changed, 16 insertions, 91 deletions
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json
index d2fcccf..69e439c 100644
--- a/.config/nvim/lazy-lock.json
+++ b/.config/nvim/lazy-lock.json
@@ -1,27 +1,22 @@
{
- "LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" },
- "bufferline.nvim": { "branch": "main", "commit": "d24378edc14a675c820a303b4512af3bbc5761e9" },
- "catppuccin": { "branch": "main", "commit": "a84ee1848bfac4601771805396552bdbaa0a0e91" },
+ "LuaSnip": { "branch": "master", "commit": "c4d6298347f7707e9757351b2ee03d0c00da5c20" },
+ "catppuccin": { "branch": "main", "commit": "490078b1593c6609e6a50ad5001e7902ea601824" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
- "comment.nvim": { "branch": "master", "commit": "176e85eeb63f1a5970d6b88f1725039d85ca0055" },
- "diffview.nvim": { "branch": "main", "commit": "73cb92d6e58c9a2d5835c490016725bfb2c3431a" },
- "friendly-snippets": { "branch": "main", "commit": "ea84a710262cb2c286d439070bad37d36fd3db25" },
- "indent-blankline.nvim": { "branch": "master", "commit": "4541d690816cb99a7fc248f1486aa87f3abce91c" },
- "lazy.nvim": { "branch": "main", "commit": "25beed5e2e935ebc00d7e3eed1dc502df3c40e39" },
- "neogit": { "branch": "master", "commit": "3d63d76f04dc7102c83a057ded30a93822b59dec" },
- "nvim-autopairs": { "branch": "master", "commit": "ae5b41ce880a6d850055e262d6dfebd362bb276e" },
- "nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" },
- "nvim-lspconfig": { "branch": "master", "commit": "447443a2404adc323ad2efc7c0a346a904ce694c" },
- "nvim-surround": { "branch": "main", "commit": "10b20ca7d9da1ac8df8339e140ffef94f9ab3b18" },
- "nvim-treesitter": { "branch": "master", "commit": "9fa6806b88905d52b5ca36094909630919b432cc" },
- "nvim-web-devicons": { "branch": "master", "commit": "efbfed0567ef4bfac3ce630524a0f6c8451c5534" },
+ "diffview.nvim": { "branch": "main", "commit": "db97e667e03294bfa9f15e544e78f3082247bf79" },
+ "friendly-snippets": { "branch": "main", "commit": "377d45475b49e37460a902d6d569d2093d4037d0" },
+ "lazy.nvim": { "branch": "main", "commit": "dac844ed617dda4f9ec85eb88e9629ad2add5e05" },
+ "neogit": { "branch": "master", "commit": "b3c15c5dba0e76a3524029785d02fc897149259d" },
+ "nvim-cmp": { "branch": "main", "commit": "51f1e11a89ec701221877532ee1a23557d291dd5" },
+ "nvim-lspconfig": { "branch": "master", "commit": "0d29cad8de3b2c654315203fc1fe12fde722a18a" },
+ "nvim-surround": { "branch": "main", "commit": "1c2ef599abeeb98e40706830bcd27e90e259367a" },
+ "nvim-treesitter": { "branch": "master", "commit": "add1864bbf2d3b8e789ec6b4715bb5a4073e3b60" },
+ "nvim-web-devicons": { "branch": "master", "commit": "cfc8824cc1db316a276b36517f093baccb8e799a" },
"plenary.nvim": { "branch": "master", "commit": "267282a9ce242bbb0c5dc31445b6d353bed978bb" },
- "rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" },
- "telescope.nvim": { "branch": "master", "commit": "47c755d737702df7a39b640c8d9c473a728be1df" },
- "trouble.nvim": { "branch": "main", "commit": "20d1b30d6925213abece21d35858a16e11d1e9fc" },
- "which-key.nvim": { "branch": "main", "commit": "38b990f6eabf62014018b4aae70a97d7a6c2eb88" }
+ "telescope.nvim": { "branch": "master", "commit": "2d92125620417fbea82ec30303823e3cd69e90e8" },
+ "vim-buftabline": { "branch": "master", "commit": "73b9ef5dcb6cdf6488bc88adb382f20bc3e3262a" },
+ "which-key.nvim": { "branch": "main", "commit": "7ccf476ebe0445a741b64e36c78a682c1c6118b7" }
} \ No newline at end of file
diff --git a/.config/nvim/lua/plugins/autopairs.lua b/.config/nvim/lua/plugins/autopairs.lua
deleted file mode 100644
index a9641f7..0000000
--- a/.config/nvim/lua/plugins/autopairs.lua
+++ /dev/null
@@ -1,6 +0,0 @@
-return {
- 'windwp/nvim-autopairs',
- event = "InsertEnter",
- opts = {},
-}
-
diff --git a/.config/nvim/lua/plugins/bufferline.lua b/.config/nvim/lua/plugins/bufferline.lua
deleted file mode 100644
index b7d9c84..0000000
--- a/.config/nvim/lua/plugins/bufferline.lua
+++ /dev/null
@@ -1,23 +0,0 @@
-return {
- {
- "akinsho/bufferline.nvim",
- dependencies = { "nvim-tree/nvim-web-devicons" },
- event = "BufEnter",
- keys = {
- { "<A-,>", "<Cmd>BufferLineCyclePrev<CR>", desc = "Previous buffer" },
- { "<A-.>", "<Cmd>BufferLineCycleNext<CR>", desc = "Next buffer" },
- { "<A-x>", "<Cmd>bdelete<CR>", desc = "Delete buffer" },
- { "<A-X>", "<Cmd>bdelete!<CR>", desc = "Force delete buffer" },
- { "<A-space>", "<Cmd>BufferLinePick<CR>", desc = "Pick buffer" },
- },
- config = function()
- require("bufferline").setup({
- highlights = require("catppuccin.groups.integrations.bufferline").get(),
- options = {
- indicator = { icon = " " },
- diagnostics = "nvim_lsp",
- },
- })
- end,
- },
-}
diff --git a/.config/nvim/lua/plugins/editor.lua b/.config/nvim/lua/plugins/editor.lua
index 21f5cdf..4dde1dc 100644
--- a/.config/nvim/lua/plugins/editor.lua
+++ b/.config/nvim/lua/plugins/editor.lua
@@ -1,6 +1,5 @@
return {
+ { "ap/vim-buftabline", event = "VeryLazy" },
{ "kylechui/nvim-surround", event = "VeryLazy", opts = {} },
- { "numtostr/comment.nvim", event = "VeryLazy", opts = {} },
- { "simrat39/rust-tools.nvim", ft = "rust", opts = {} },
}
diff --git a/.config/nvim/lua/plugins/indent-blankline.lua b/.config/nvim/lua/plugins/indent-blankline.lua
deleted file mode 100644
index b034aed..0000000
--- a/.config/nvim/lua/plugins/indent-blankline.lua
+++ /dev/null
@@ -1,20 +0,0 @@
-return {
- {
- "lukas-reineke/indent-blankline.nvim",
- event = { "BufReadPre", "BufNewFile" },
- config = function()
- vim.g.indent_blankline_filetype_exclude = {
- "alpha",
- "fugitive",
- "help",
- "lazy",
- "dashboard",
- "NeogitCommitView",
- "NeogitConsole",
- "NeogitStatus",
- "NvimTree",
- "TelescopePrompt",
- }
- end,
- },
-}
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua
index 3f7c5ac..fe48d9f 100644
--- a/.config/nvim/lua/plugins/treesitter.lua
+++ b/.config/nvim/lua/plugins/treesitter.lua
@@ -22,6 +22,7 @@ return {
"rust",
"scss",
"sql",
+ "svelte",
"toml",
"tsx",
"typescript",
diff --git a/.config/nvim/lua/plugins/trouble.lua b/.config/nvim/lua/plugins/trouble.lua
deleted file mode 100644
index 6678356..0000000
--- a/.config/nvim/lua/plugins/trouble.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-return {
- {
- "folke/trouble.nvim",
- dependencies = { "nvim-tree/nvim-web-devicons" },
- keys = {
- { "<leader>xx", "<Cmd>TroubleToggle<CR>", desc = "Toggle trouble", silent = true },
- { "<leader>xw", "<Cmd>TroubleToggle workspace_diagnostics<CR>", desc = "Toggle workspace diagnostics", silent = true },
- { "<leader>xd", "<Cmd>TroubleToggle document_diagnostics<CR>", desc = "Toggle document diagnostics", silent = true },
- { "<leader>xl", "<Cmd>TroubleToggle loclist<CR>", desc = "Toggle loclist", silent = true },
- { "<leader>xq", "<Cmd>TroubleToggle quickfix<CR>", desc = "Toggle quickfix list", silent = true },
- { "gR", "<Cmd>TroubleToggle lsp_references<CR>", desc = "Toggle LSP reference list", silent = true },
- },
- opts = {},
- },
-}
diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua
index f6f597b..2a27a2c 100644
--- a/.config/nvim/lua/plugins/which-key.lua
+++ b/.config/nvim/lua/plugins/which-key.lua
@@ -3,13 +3,7 @@ return {
event = "VeryLazy",
config = function()
require("which-key").register({
- ["<leader>t"] = {
- name = "+test",
- w = { name = "+watch" },
- },
["<leader>f"] = { name = "+Telescope" },
- ["<leader>d"] = { name = "+debug" },
- ["<leader>x"] = { name = "+Trouble" },
})
end,
}