diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-22 10:18:07 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-22 10:18:07 +0100 |
| commit | 5455aacdedfb2829f000b2f120a6d5194d1227f8 (patch) | |
| tree | ca73cfdf3b9106aab00c5acb3d239df61e9c43d9 | |
| parent | bf157b642c2910abae1810c985817e42502000b5 (diff) | |
| download | nvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.tar.gz nvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.zip | |
feat: big change on the structure of the plugins, move several things to config dir
| -rw-r--r-- | init.lua | 9 | ||||
| -rw-r--r-- | lazy-lock.json | 16 | ||||
| -rw-r--r-- | lua/alpha/disable_builtin.lua | 20 | ||||
| -rw-r--r-- | lua/alpha/lazy.lua | 14 | ||||
| -rw-r--r-- | lua/alpha/settings.lua | 41 | ||||
| -rw-r--r-- | lua/alpha/telescope/actions.lua | 3 | ||||
| -rw-r--r-- | lua/alpha/telescope/init.lua | 2 | ||||
| -rw-r--r-- | lua/alpha/utils.lua | 30 | ||||
| -rw-r--r-- | lua/config/autocmds.lua | 39 | ||||
| -rw-r--r-- | lua/config/diagnostic.lua (renamed from lua/alpha/diagnostic.lua) | 3 | ||||
| -rw-r--r-- | lua/config/init.lua | 14 | ||||
| -rw-r--r-- | lua/config/keymaps.lua (renamed from lua/alpha/keybindings.lua) | 3 | ||||
| -rw-r--r-- | lua/config/lazy.lua | 33 | ||||
| -rw-r--r-- | lua/config/options.lua | 43 | ||||
| -rw-r--r-- | lua/plugins/colorscheme.lua (renamed from lua/alpha/plugins/colorscheme.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/comment.lua (renamed from lua/alpha/plugins/comment.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/completition.lua (renamed from lua/alpha/plugins/completition.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/dap.lua (renamed from lua/alpha/plugins/dap.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/database.lua (renamed from lua/alpha/plugins/database.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/dressing.lua (renamed from lua/alpha/plugins/dressing.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/easy-align.lua (renamed from lua/alpha/plugins/easy-align.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/fugitive.lua (renamed from lua/alpha/plugins/fugitive.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/gitsigns.lua (renamed from lua/alpha/plugins/gitsigns.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/harpoon.lua (renamed from lua/alpha/plugins/harpoon.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/icon-picker.lua (renamed from lua/alpha/plugins/icon-picker.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/init.lua (renamed from lua/alpha/plugins/init.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/laravel.lua (renamed from lua/alpha/plugins/laravel.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/lsp.lua (renamed from lua/alpha/plugins/lsp.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/lualine.lua (renamed from lua/alpha/plugins/lualine.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/mind.lua (renamed from lua/alpha/plugins/mind.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/neotest.lua (renamed from lua/alpha/plugins/neotest.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/notify.lua (renamed from lua/alpha/plugins/notify.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/refactoring.lua (renamed from lua/alpha/plugins/refactoring.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/rest.lua (renamed from lua/alpha/plugins/rest.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/snippets.lua (renamed from lua/alpha/plugins/snippets.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/telescope.lua (renamed from lua/alpha/plugins/telescope.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/test.lua (renamed from lua/alpha/plugins/test.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/transparent.lua (renamed from lua/alpha/plugins/transparent.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua (renamed from lua/alpha/plugins/treesitter.lua) | 2 | ||||
| -rw-r--r-- | lua/plugins/trouble.lua (renamed from lua/alpha/plugins/trouble.lua) | 0 | ||||
| -rw-r--r-- | lua/plugins/worktree.lua (renamed from lua/alpha/plugins/worktree.lua) | 0 | ||||
| -rw-r--r-- | plugin/styles.vim | 2 |
42 files changed, 159 insertions, 115 deletions
@@ -1,9 +1,2 @@ -require("alpha.settings") -require("alpha.lazy") - -require("alpha.keybindings") - +require("config") require("alpha.globals") -require("alpha.disable_builtin") - -require("alpha.diagnostic") diff --git a/lazy-lock.json b/lazy-lock.json index 3852aad..f8d3bea 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -14,7 +14,7 @@ "delimitMate": { "branch": "master", "commit": "537a1da0fa5eeb88640425c37e545af933c56e1b" }, "dressing.nvim": { "branch": "master", "commit": "4436d6f41e2f6b8ada57588acd1a9f8b3d21453c" }, "fidget.nvim": { "branch": "main", "commit": "44585a0c0085765195e6961c15529ba6c5a2a13b" }, - "fzf": { "branch": "master", "commit": "a79de11af78d98f3f1931870d2866012cc6e962a" }, + "fzf": { "branch": "master", "commit": "d51980a3f50dfa8ce43b01a3dce216afb8a0bd8f" }, "fzf.vim": { "branch": "master", "commit": "bdf48c282ad2174c25c059b3cdb7956427b07a99" }, "git-worktree.nvim": { "branch": "master", "commit": "d7f4e2584e81670154f07ca9fa5dd791d9c1b458" }, "gitsigns.nvim": { "branch": "main", "commit": "7b37bd5c2dd4d7abc86f2af096af79120608eeca" }, @@ -23,29 +23,29 @@ "icon-picker.nvim": { "branch": "master", "commit": "66d37ceae84099ca76235de44466829eb37118c2" }, "indent-blankline.nvim": { "branch": "master", "commit": "c4c203c3e8a595bc333abaf168fcb10c13ed5fb7" }, "laravel.nvim": { "branch": "main", "commit": "3fb127286a730daf87132ef12fbb1442a4ac790b" }, - "lazy.nvim": { "branch": "main", "commit": "75dcd5741d76e09b1a41c771fbc8b010a109b5cb" }, + "lazy.nvim": { "branch": "main", "commit": "96d759d1cbd8b0bd0ea0a0c2987f99410272f348" }, "lspkind-nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" }, "lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "5b388c0de30f1605671ebfb9a20a620cda50ffce" }, "mason-tool-installer.nvim": { "branch": "main", "commit": "27f61f75a71bb3c2504a17e02b571f79cae43676" }, - "mason.nvim": { "branch": "main", "commit": "41d6a88c9d08380f7e1e33d8471ffe36c0900347" }, + "mason.nvim": { "branch": "main", "commit": "71069da64d33a33afc169ca37d7ae66699cfe5ee" }, "mind.nvim": { "branch": "v2.2", "commit": "79e0ca131d5e37dfa65f3f0e725d99742e4ff783" }, "null-ls.nvim": { "branch": "main", "commit": "33cfeb7a761f08e8535dca722d4b237cabadd371" }, - "nvim-autopairs": { "branch": "master", "commit": "f00eb3b766c370cb34fdabc29c760338ba9e4c6c" }, + "nvim-autopairs": { "branch": "master", "commit": "31042a5823b55c4bfb30efcbba2fc1b5b53f90dc" }, "nvim-cmp": { "branch": "main", "commit": "11a95792a5be0f5a40bab5fc5b670e5b1399a939" }, "nvim-dap": { "branch": "master", "commit": "c64a6627bb01eb151da96b28091797beaac09536" }, "nvim-dap-go": { "branch": "main", "commit": "6f045a72a05a78e4071dd0880f08214a2bb1461b" }, "nvim-dap-ui": { "branch": "master", "commit": "b80227ea56a48177786904f6322abc8b2dc0bc36" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "191345947a92a5188d791e9786a5b4f205dcaca3" }, "nvim-dap-vscode-js": { "branch": "main", "commit": "e7c05495934a658c8aa10afd995dacd796f76091" }, - "nvim-lspconfig": { "branch": "master", "commit": "d228bcf7cd94611929482a09e114a42c41fe81a8" }, + "nvim-lspconfig": { "branch": "master", "commit": "85cd2ecacd8805614efe3fb3a5146ac7d0f88a17" }, "nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" }, "nvim-projectconfig": { "branch": "master", "commit": "05fd34831e170db269d1b84597615bcdcdde930e" }, "nvim-transparent": { "branch": "main", "commit": "6816751e3d595b3209aa475a83b6fbaa3a5ccc98" }, - "nvim-treesitter": { "branch": "master", "commit": "c9615952e71397cec4cf89a9a0db0fb9c491a5e1" }, + "nvim-treesitter": { "branch": "master", "commit": "e42a077fdf83f5ee05dd52025d26f8d70f973c49" }, "nvim-treesitter-refactor": { "branch": "master", "commit": "75f5895cc662d61eb919da8050b7a0124400d589" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "2fb97bd6c53d78517d2022a0b84422c18ce5686e" }, - "nvim-web-devicons": { "branch": "master", "commit": "6c38926351372ea87034dec26182b62c835ff3bc" }, + "nvim-web-devicons": { "branch": "master", "commit": "13d06d74afad093d8312fe051633b55f24049c16" }, "php-code-actions.nvim": { "branch": "main", "commit": "a85a695c58f9c5e8033d824ffae366e9797e0b28" }, "playground": { "branch": "master", "commit": "01c27f37a1f067200680cacfb7b96f5ad2fa5cd6" }, "plenary.nvim": { "branch": "master", "commit": "1c7e3e6b0f4dd5a174fcea9fda8a4d7de593b826" }, @@ -57,7 +57,7 @@ "telescope-fzf-native.nvim": { "branch": "main", "commit": "fab3e2212e206f4f8b3bbaa656e129443c9b802e" }, "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" }, - "telescope.nvim": { "branch": "master", "commit": "2f32775405f6706348b71d0bb8a15a22852a61e4" }, + "telescope.nvim": { "branch": "master", "commit": "dce1156ca103b8222e4abbfc63f9c6887abf5ec6" }, "tokyonight.nvim": { "branch": "main", "commit": "4071f7fa984859c5de7a1fd27069b99c3a0d802a" }, "trouble.nvim": { "branch": "main", "commit": "b2a0afac2c319a481f0f0318963a74d672ba5766" }, "vim-blade": { "branch": "master", "commit": "9534101808cc320eef003129a40cab04b026a20c" }, diff --git a/lua/alpha/disable_builtin.lua b/lua/alpha/disable_builtin.lua deleted file mode 100644 index 6177c82..0000000 --- a/lua/alpha/disable_builtin.lua +++ /dev/null @@ -1,20 +0,0 @@ -vim.g.loaded_gzip = 1 -vim.g.loaded_zip = 1 -vim.g.loaded_zipPlugin = 1 -vim.g.loaded_tar = 1 -vim.g.loaded_tarPlugin = 1 - -vim.g.loaded_getscript = 1 -vim.g.loaded_getscriptPlugin = 1 -vim.g.loaded_vimball = 1 -vim.g.loaded_vimballPlugin = 1 -vim.g.loaded_2html_plugin = 1 - -vim.g.loaded_matchit = 1 -vim.g.loaded_matchparen = 1 -vim.g.loaded_logiPat = 1 -vim.g.loaded_rrhelper = 1 - --- vim.g.loaded_netrw = 1 --- vim.g.loaded_netrwPlugin = 1 --- vim.g.loaded_netrwSettings = 1 diff --git a/lua/alpha/lazy.lua b/lua/alpha/lazy.lua deleted file mode 100644 index b878978..0000000 --- a/lua/alpha/lazy.lua +++ /dev/null @@ -1,14 +0,0 @@ -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- latest stable release - lazypath, - }) -end -vim.opt.rtp:prepend(lazypath) - -require("lazy").setup("alpha.plugins") diff --git a/lua/alpha/settings.lua b/lua/alpha/settings.lua deleted file mode 100644 index 0d012f6..0000000 --- a/lua/alpha/settings.lua +++ /dev/null @@ -1,41 +0,0 @@ -vim.g.mapleader = " " -vim.g.snippets = "luasnip" - -vim.g.alpha_color = "tokyonight" -vim.g.alpha_lualine_color = "tokyonight" - -local options = vim.o - -options.mouse = false -options.number = true -options.relativenumber = true - -options.hidden = true -options.expandtab = true -options.tabstop = 4 -options.softtabstop = 4 -options.shiftwidth = 4 -options.smartindent = true -options.errorbells = false -options.wrap = false -options.swapfile = false -options.undofile = true -options.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir" -options.hlsearch = false -options.incsearch = true -options.ignorecase = true -options.smartcase = true -options.termguicolors = true -options.scrolloff = 4 -options.sidescrolloff = 4 -options.showmode = false -options.clipboard = "unnamedplus" -options.splitbelow = true -options.splitright = true -options.autowrite = true -options.list = true -options.listchars = "tab:\\ ,trail:-" -options.laststatus = 3 -options.cmdheight = 1 -options.updatetime = 50 -options.signcolumn = "yes" diff --git a/lua/alpha/telescope/actions.lua b/lua/alpha/telescope/actions.lua index e877b34..f996cf4 100644 --- a/lua/alpha/telescope/actions.lua +++ b/lua/alpha/telescope/actions.lua @@ -2,12 +2,11 @@ local M = {} local action_state = require("telescope.actions.state") local actions = require("telescope.actions") -local get_node_text = vim.treesitter.get_node_text M.create_plugin = function(prompt_bufnr) local new_plugin = action_state.get_current_line() actions.close(prompt_bufnr) - vim.cmd(string.format("edit ~/.config/nvim/lua/alpha/plugins/%s.lua", new_plugin)) + vim.cmd(string.format("edit ~/.config/nvim/lua/plugins/%s.lua", new_plugin)) end local get_disable_stm_node = function(bufnr, tree) diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua index 40f3b7b..c717cb6 100644 --- a/lua/alpha/telescope/init.lua +++ b/lua/alpha/telescope/init.lua @@ -51,7 +51,7 @@ end M.find_nvim_plugin = function() require("telescope.builtin").find_files({ prompt_title = "< Plugins >", - cwd = "$HOME/.config/nvim/lua/alpha/plugins/", + cwd = "$HOME/.config/nvim/lua/plugins/", attach_mappings = function(_, map) map("i", "<C-t>", my_actions.create_plugin) map("i", "<C-d>", my_actions.disable_plugin) diff --git a/lua/alpha/utils.lua b/lua/alpha/utils.lua index b1911bc..5279832 100644 --- a/lua/alpha/utils.lua +++ b/lua/alpha/utils.lua @@ -1,24 +1,24 @@ local utils = {} utils.save_and_exec = function() - local source_commands = { - lua = "luafi %", - vim = "source %", - } + local source_commands = { + lua = "luafi %", + vim = "source %", + } - local ft = vim.api.nvim_buf_get_option(0, "filetype") - local command = source_commands[ft] - if command == nil then - vim.notify("This type cant not be sourced", vim.log.levels.ERROR) - return - end + local ft = vim.api.nvim_buf_get_option(0, "filetype") + local command = source_commands[ft] + if command == nil then + vim.notify("This type cant not be sourced", vim.log.levels.ERROR, { title = "Alpha Developer" }) + return + end - -- Save and source - vim.api.nvim_command("silent w") - vim.api.nvim_command(command) + -- Save and source + vim.api.nvim_command("silent w") + vim.api.nvim_command(command) - local current_file_name = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(0), ":t") - vim.notify(string.format("File %s Sourced", current_file_name), vim.log.levels.INFO) + local current_file_name = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(0), ":t") + vim.notify(string.format("File %s Sourced", current_file_name), vim.log.levels.INFO, { title = "Alpha Developer" }) end return utils diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua new file mode 100644 index 0000000..ee165ee --- /dev/null +++ b/lua/config/autocmds.lua @@ -0,0 +1,39 @@ +-- resize splits if window got resized +vim.api.nvim_create_autocmd({ "VimResized" }, { + callback = function() + vim.cmd("tabdo wincmd =") + end, +}) + +-- close some filetypes with <q> +vim.api.nvim_create_autocmd("FileType", { + pattern = { + "qf", + "help", + "man", + "notify", + "lspinfo", + "spectre_panel", + "startuptime", + "tsplayground", + "PlenaryTestPopup", + }, + callback = function(event) + vim.bo[event.buf].buflisted = false + vim.keymap.set("n", "q", "<cmd>close<cr>", { buffer = event.buf, silent = true }) + end, +}) + +vim.api.nvim_create_autocmd("FileType", { + pattern = { "gitcommit", "markdown" }, + callback = function() + vim.opt_local.wrap = true + vim.opt_local.spell = true + end, +}) + +vim.api.nvim_create_autocmd({"BufWritePre"}, { + callback = function () + vim.cmd([[%s/\s\+$//e]]) + end +}) diff --git a/lua/alpha/diagnostic.lua b/lua/config/diagnostic.lua index 543732f..7d56f1c 100644 --- a/lua/alpha/diagnostic.lua +++ b/lua/config/diagnostic.lua @@ -1,6 +1,3 @@ -vim.keymap.set("n", "<leader>vn", vim.diagnostic.goto_next, {}) -vim.keymap.set("n", "<leader>vp", vim.diagnostic.goto_prev, {}) - vim.diagnostic.config({ virtual_text = false, }) diff --git a/lua/config/init.lua b/lua/config/init.lua new file mode 100644 index 0000000..3537ca6 --- /dev/null +++ b/lua/config/init.lua @@ -0,0 +1,14 @@ +require("config.options") +require("config.lazy") +if vim.fn.argc() == 0 then + -- autocmds and keymaps can wait to load + vim.api.nvim_create_autocmd("User", { + group = vim.api.nvim_create_augroup("LazyVim", { clear = true }), + pattern = "VeryLazy", + callback = function() + require("config.autocmds") + require("config.keymaps") + require("config.diagnostic") + end, + }) +end diff --git a/lua/alpha/keybindings.lua b/lua/config/keymaps.lua index ca4dd3a..95ad0d7 100644 --- a/lua/alpha/keybindings.lua +++ b/lua/config/keymaps.lua @@ -43,3 +43,6 @@ map("n", "<leader>ee", ":vsp .env<CR>") -- quick save and exec map("n", "<leader><leader>x", require("alpha.utils").save_and_exec) + +map("n", "<leader>vn", vim.diagnostic.goto_next, {}) +map("n", "<leader>vp", vim.diagnostic.goto_prev, {}) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua new file mode 100644 index 0000000..5c9351a --- /dev/null +++ b/lua/config/lazy.lua @@ -0,0 +1,33 @@ +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +require("lazy").setup({ + spec = { + { import = "plugins" }, + }, + checker = { enabled = true }, + performance = { + rtp = { + disabled_plugins = { + "gzip", + "matchit", + "matchparen", + "netrwPlugin", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + }, + }, + }, +}) diff --git a/lua/config/options.lua b/lua/config/options.lua new file mode 100644 index 0000000..21b0c68 --- /dev/null +++ b/lua/config/options.lua @@ -0,0 +1,43 @@ +vim.g.mapleader = " " +vim.g.snippets = "luasnip" + +local opt = vim.o + +opt.mouse = false +opt.number = true +opt.relativenumber = true +opt.conceallevel = 3 +opt.hidden = true +opt.expandtab = true +opt.tabstop = 4 +opt.softtabstop = 4 +opt.shiftwidth = 4 +opt.smartindent = true +opt.errorbells = false +opt.wrap = false +opt.swapfile = false +opt.undofile = true +opt.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir" +opt.hlsearch = false +opt.incsearch = true +opt.ignorecase = true +opt.smartcase = true +opt.termguicolors = true +opt.scrolloff = 4 +opt.sidescrolloff = 4 +opt.showmode = false +opt.clipboard = "unnamedplus" +opt.splitbelow = true +opt.splitright = true +opt.autowrite = true +opt.list = true +opt.listchars = "tab:\\ ,trail:-" +opt.laststatus = 3 +opt.cmdheight = 1 +opt.updatetime = 50 +opt.signcolumn = "yes" + +if vim.fn.has("nvim-0.9.0") == 1 then + opt.splitkeep = "screen" + opt.shortmess = "filnxtToOFWIcC" +end diff --git a/lua/alpha/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 9f0528e..9f0528e 100644 --- a/lua/alpha/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua diff --git a/lua/alpha/plugins/comment.lua b/lua/plugins/comment.lua index fd55eff..fd55eff 100644 --- a/lua/alpha/plugins/comment.lua +++ b/lua/plugins/comment.lua diff --git a/lua/alpha/plugins/completition.lua b/lua/plugins/completition.lua index cf1a37d..cf1a37d 100644 --- a/lua/alpha/plugins/completition.lua +++ b/lua/plugins/completition.lua diff --git a/lua/alpha/plugins/dap.lua b/lua/plugins/dap.lua index f8a7b17..f8a7b17 100644 --- a/lua/alpha/plugins/dap.lua +++ b/lua/plugins/dap.lua diff --git a/lua/alpha/plugins/database.lua b/lua/plugins/database.lua index fceb506..fceb506 100644 --- a/lua/alpha/plugins/database.lua +++ b/lua/plugins/database.lua diff --git a/lua/alpha/plugins/dressing.lua b/lua/plugins/dressing.lua index d7de41b..d7de41b 100644 --- a/lua/alpha/plugins/dressing.lua +++ b/lua/plugins/dressing.lua diff --git a/lua/alpha/plugins/easy-align.lua b/lua/plugins/easy-align.lua index 5f62713..5f62713 100644 --- a/lua/alpha/plugins/easy-align.lua +++ b/lua/plugins/easy-align.lua diff --git a/lua/alpha/plugins/fugitive.lua b/lua/plugins/fugitive.lua index ccce9b5..ccce9b5 100644 --- a/lua/alpha/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua diff --git a/lua/alpha/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua index 524da78..524da78 100644 --- a/lua/alpha/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua diff --git a/lua/alpha/plugins/harpoon.lua b/lua/plugins/harpoon.lua index b410c8e..b410c8e 100644 --- a/lua/alpha/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua diff --git a/lua/alpha/plugins/icon-picker.lua b/lua/plugins/icon-picker.lua index 55183db..55183db 100644 --- a/lua/alpha/plugins/icon-picker.lua +++ b/lua/plugins/icon-picker.lua diff --git a/lua/alpha/plugins/init.lua b/lua/plugins/init.lua index b126f85..b126f85 100644 --- a/lua/alpha/plugins/init.lua +++ b/lua/plugins/init.lua diff --git a/lua/alpha/plugins/laravel.lua b/lua/plugins/laravel.lua index 60f8ad2..60f8ad2 100644 --- a/lua/alpha/plugins/laravel.lua +++ b/lua/plugins/laravel.lua diff --git a/lua/alpha/plugins/lsp.lua b/lua/plugins/lsp.lua index 8d5c36a..8d5c36a 100644 --- a/lua/alpha/plugins/lsp.lua +++ b/lua/plugins/lsp.lua diff --git a/lua/alpha/plugins/lualine.lua b/lua/plugins/lualine.lua index f63efa0..f63efa0 100644 --- a/lua/alpha/plugins/lualine.lua +++ b/lua/plugins/lualine.lua diff --git a/lua/alpha/plugins/mind.lua b/lua/plugins/mind.lua index 70c0e23..70c0e23 100644 --- a/lua/alpha/plugins/mind.lua +++ b/lua/plugins/mind.lua diff --git a/lua/alpha/plugins/neotest.lua b/lua/plugins/neotest.lua index 5a332be..5a332be 100644 --- a/lua/alpha/plugins/neotest.lua +++ b/lua/plugins/neotest.lua diff --git a/lua/alpha/plugins/notify.lua b/lua/plugins/notify.lua index 4b2a82c..4b2a82c 100644 --- a/lua/alpha/plugins/notify.lua +++ b/lua/plugins/notify.lua diff --git a/lua/alpha/plugins/refactoring.lua b/lua/plugins/refactoring.lua index 349cc63..349cc63 100644 --- a/lua/alpha/plugins/refactoring.lua +++ b/lua/plugins/refactoring.lua diff --git a/lua/alpha/plugins/rest.lua b/lua/plugins/rest.lua index 7b60a9d..7b60a9d 100644 --- a/lua/alpha/plugins/rest.lua +++ b/lua/plugins/rest.lua diff --git a/lua/alpha/plugins/snippets.lua b/lua/plugins/snippets.lua index cba0dd1..cba0dd1 100644 --- a/lua/alpha/plugins/snippets.lua +++ b/lua/plugins/snippets.lua diff --git a/lua/alpha/plugins/telescope.lua b/lua/plugins/telescope.lua index 52d7b8b..52d7b8b 100644 --- a/lua/alpha/plugins/telescope.lua +++ b/lua/plugins/telescope.lua diff --git a/lua/alpha/plugins/test.lua b/lua/plugins/test.lua index 7fcabc9..7fcabc9 100644 --- a/lua/alpha/plugins/test.lua +++ b/lua/plugins/test.lua diff --git a/lua/alpha/plugins/transparent.lua b/lua/plugins/transparent.lua index fa0b480..fa0b480 100644 --- a/lua/alpha/plugins/transparent.lua +++ b/lua/plugins/transparent.lua diff --git a/lua/alpha/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 49a1d16..b41eb3c 100644 --- a/lua/alpha/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -8,7 +8,7 @@ return { }, config = function() require "nvim-treesitter.configs".setup { - ensure_installed = { "php", "phpdoc", "vim", "go", "gomod", "css", "html", "javascript", "lua", "typescript", "yaml" }, + ensure_installed = { "php", "phpdoc", "vim", "go", "gomod", "css", "html", "javascript", "lua", "typescript", "yaml", "query" }, highlight = { enable = true, additional_vim_regex_highlighting = false, diff --git a/lua/alpha/plugins/trouble.lua b/lua/plugins/trouble.lua index 2a08443..2a08443 100644 --- a/lua/alpha/plugins/trouble.lua +++ b/lua/plugins/trouble.lua diff --git a/lua/alpha/plugins/worktree.lua b/lua/plugins/worktree.lua index bd7c923..bd7c923 100644 --- a/lua/alpha/plugins/worktree.lua +++ b/lua/plugins/worktree.lua diff --git a/plugin/styles.vim b/plugin/styles.vim deleted file mode 100644 index c7482e8..0000000 --- a/plugin/styles.vim +++ /dev/null @@ -1,2 +0,0 @@ -" remove whitespaces -autocmd BufWritePre * :%s/\s\+$//e |