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 /lua/alpha | |
| 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
Diffstat (limited to 'lua/alpha')
35 files changed, 17 insertions, 1013 deletions
diff --git a/lua/alpha/diagnostic.lua b/lua/alpha/diagnostic.lua deleted file mode 100644 index 543732f..0000000 --- a/lua/alpha/diagnostic.lua +++ /dev/null @@ -1,12 +0,0 @@ -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, -}) - -local signs = { Error = "", Warn = "", Hint = "", Info = "" } -for type, icon in pairs(signs) do - local hl = "DiagnosticSign" .. type - vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) -end 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/keybindings.lua b/lua/alpha/keybindings.lua deleted file mode 100644 index ca4dd3a..0000000 --- a/lua/alpha/keybindings.lua +++ /dev/null @@ -1,45 +0,0 @@ -local map = vim.keymap.set - -map("v", "<leader>p", '"_dp') - -map("n", "bd", ":bd!<CR>") - --- lists navigation -map("n", "<leader>j", ":cnext<CR>zz") -map("n", "<leader>k", ":cprev<CR>zz") -map("n", "<leader>i", ":lnext<CR>zz") -map("n", "<leader>o", ":lprev<CR>zz") -map("n", "<leader>cc", ":cclose<CR>") - --- quick split -map("n", "<leader>wsv", ":vsp<CR>") - --- tabulation -map("v", "<", "<gv") -map("v", ">", ">gv") - --- symbols to add undo points -local symbols = { ",", ".", "!", "?", "$", ">", "<" } -for _, symbol in pairs(symbols) do - map("i", symbol, symbol .. "<c-g>u") -end - --- search result focus -map("n", "n", "nzzzv") -map("n", "N", "Nzzzv") - --- join lines focus -map("n", "J", "mzJ`z") - --- Terminal -map("t", "<Esc><Esc>", "<C-\\><C-n>") -map("t", "<C-w>h", "<C-\\><C-n><C-w>h") -map("t", "<C-w>j", "<C-\\><C-n><C-w>j") -map("t", "<C-w>k", "<C-\\><C-n><C-w>k") -map("t", "<C-w>l", "<C-\\><C-n><C-w>l") - --- quick env file edit -map("n", "<leader>ee", ":vsp .env<CR>") - --- quick save and exec -map("n", "<leader><leader>x", require("alpha.utils").save_and_exec) 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/plugins/colorscheme.lua b/lua/alpha/plugins/colorscheme.lua deleted file mode 100644 index 9f0528e..0000000 --- a/lua/alpha/plugins/colorscheme.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - "folke/tokyonight.nvim", - priority=1000, - config = function() - require("tokyonight").setup({ - style = "night" - }) - vim.cmd.colorscheme("tokyonight") - end -} diff --git a/lua/alpha/plugins/comment.lua b/lua/alpha/plugins/comment.lua deleted file mode 100644 index fd55eff..0000000 --- a/lua/alpha/plugins/comment.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - "numToStr/Comment.nvim", - keys = { { "gcc" }, { "gbc" }, { "gc", mode = "v" }, { "gb", mode = "v" } }, - config = true -} diff --git a/lua/alpha/plugins/completition.lua b/lua/alpha/plugins/completition.lua deleted file mode 100644 index cf1a37d..0000000 --- a/lua/alpha/plugins/completition.lua +++ /dev/null @@ -1,18 +0,0 @@ -return { - "hrsh7th/nvim-cmp", - dependencies = { - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "hrsh7th/cmp-nvim-lua", - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-cmdline", - "hrsh7th/cmp-git", - "saadparwaiz1/cmp_luasnip", - "onsails/lspkind-nvim", - { "L3MON4D3/LuaSnip", version = "v1.*" }, - "windwp/nvim-autopairs", - }, - config = function () - require("alpha.completition") - end -} diff --git a/lua/alpha/plugins/dap.lua b/lua/alpha/plugins/dap.lua deleted file mode 100644 index f8a7b17..0000000 --- a/lua/alpha/plugins/dap.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - "mfussenegger/nvim-dap", - dependencies = { - "theHamsta/nvim-dap-virtual-text", - "rcarriga/nvim-dap-ui", - "leoluz/nvim-dap-go", - "mxsdev/nvim-dap-vscode-js", - "anuvyklack/hydra.nvim", - "nvim-telescope/telescope-dap.nvim", - "rcarriga/cmp-dap", - }, - keys = { { "<leader>d" } }, - config = function() - require("alpha.dap") - local ok_telescope, telescope = pcall(require, "telescope") - if ok_telescope then - telescope.load_extension("dap") - end - - local ok_cmp, cmp = pcall(require, "cmp") - if ok_cmp then - cmp.setup.filetype({ "dap-repl", "dapui_watches" }, { - sources = cmp.config.sources({ - { name = "dap" }, - }, { - { name = "buffer" }, - }), - }) - end - end -} diff --git a/lua/alpha/plugins/database.lua b/lua/alpha/plugins/database.lua deleted file mode 100644 index fceb506..0000000 --- a/lua/alpha/plugins/database.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - "kristijanhusak/vim-dadbod-ui", - dependencies = { - "tpope/vim-dadbod", - "kristijanhusak/vim-dadbod-completion", - "tpope/vim-dotenv", - }, - keys = {{"<leader><leader>db", ':tab DBUI<cr>'}}, - init = function () - require("alpha.database") - end -} diff --git a/lua/alpha/plugins/dressing.lua b/lua/alpha/plugins/dressing.lua deleted file mode 100644 index d7de41b..0000000 --- a/lua/alpha/plugins/dressing.lua +++ /dev/null @@ -1,160 +0,0 @@ -return { - "stevearc/dressing.nvim", - event = "VeryLazy", - opts = { - input = { - -- Set to false to disable the vim.ui.input implementation - enabled = true, - - -- Default prompt string - default_prompt = "Input:", - - -- Can be 'left', 'right', or 'center' - prompt_align = "left", - - -- When true, <Esc> will close the modal - insert_only = true, - - -- When true, input will start in insert mode. - start_in_insert = true, - - -- These are passed to nvim_open_win - anchor = "SW", - border = "rounded", - -- 'editor' and 'win' will default to being centered - relative = "cursor", - - -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) - prefer_width = 40, - width = nil, - -- min_width and max_width can be a list of mixed types. - -- min_width = {20, 0.2} means "the greater of 20 columns or 20% of total" - max_width = { 140, 0.9 }, - min_width = { 20, 0.2 }, - win_options = { - -- Window transparency (0-100) - winblend = 10, - -- Disable line wrapping - wrap = false, - }, - - -- Set to `false` to disable - mappings = { - n = { - ["<Esc>"] = "Close", - ["<CR>"] = "Confirm", - }, - i = { - ["<C-c>"] = "Close", - ["<CR>"] = "Confirm", - ["<Up>"] = "HistoryPrev", - ["<Down>"] = "HistoryNext", - }, - }, - - override = function(conf) - -- This is the config that will be passed to nvim_open_win. - -- Change values here to customize the layout - return conf - end, - - -- see :help dressing_get_config - get_config = nil, - }, - select = { - -- Set to false to disable the vim.ui.select implementation - enabled = true, - - -- Priority list of preferred vim.select implementations - backend = { "telescope", "fzf_lua", "fzf", "builtin", "nui" }, - - -- Trim trailing `:` from prompt - trim_prompt = true, - - -- Options for telescope selector - -- These are passed into the telescope picker directly. Can be used like: - -- telescope = require('telescope.themes').get_ivy({...}) - telescope = nil, - - -- Options for fzf selector - fzf = { - window = { - width = 0.5, - height = 0.4, - }, - }, - - -- Options for fzf_lua selector - fzf_lua = { - winopts = { - width = 0.5, - height = 0.4, - }, - }, - - -- Options for nui Menu - nui = { - position = "50%", - size = nil, - relative = "editor", - border = { - style = "rounded", - }, - buf_options = { - swapfile = false, - filetype = "DressingSelect", - }, - win_options = { - winblend = 10, - }, - max_width = 80, - max_height = 40, - min_width = 40, - min_height = 10, - }, - - -- Options for built-in selector - builtin = { - -- These are passed to nvim_open_win - anchor = "NW", - border = "rounded", - -- 'editor' and 'win' will default to being centered - relative = "editor", - - win_options = { - -- Window transparency (0-100) - winblend = 10, - }, - - -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) - -- the min_ and max_ options can be a list of mixed types. - -- max_width = {140, 0.8} means "the lesser of 140 columns or 80% of total" - width = nil, - max_width = { 140, 0.8 }, - min_width = { 40, 0.2 }, - height = nil, - max_height = 0.9, - min_height = { 10, 0.2 }, - - -- Set to `false` to disable - mappings = { - ["<Esc>"] = "Close", - ["<C-c>"] = "Close", - ["<CR>"] = "Confirm", - }, - - override = function(conf) - -- This is the config that will be passed to nvim_open_win. - -- Change values here to customize the layout - return conf - end, - }, - - -- Used to override format_item. See :help dressing-format - format_item_override = {}, - - -- see :help dressing_get_config - get_config = nil, - }, - }, -} diff --git a/lua/alpha/plugins/easy-align.lua b/lua/alpha/plugins/easy-align.lua deleted file mode 100644 index 5f62713..0000000 --- a/lua/alpha/plugins/easy-align.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "junegunn/vim-easy-align", - keys = { { "ga", "<Plug>(EasyAlign)", mode = { "n", "v" } } }, -} diff --git a/lua/alpha/plugins/fugitive.lua b/lua/alpha/plugins/fugitive.lua deleted file mode 100644 index ccce9b5..0000000 --- a/lua/alpha/plugins/fugitive.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - "tpope/vim-fugitive", - keys = { - { "<leader>ga", ":Git fetch --all -p<cr>" }, - { "<leader>gl", ":Git pull<cr>" }, - { "<leader>gdh", ":diffget //2<cr>" }, - { "<leader>gdl", ":diffget //3<cr>" }, - }, - cmd = { "G", "Git" }, -} diff --git a/lua/alpha/plugins/gitsigns.lua b/lua/alpha/plugins/gitsigns.lua deleted file mode 100644 index 524da78..0000000 --- a/lua/alpha/plugins/gitsigns.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - "lewis6991/gitsigns.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - }, - config = function() - local gitsigns = require("gitsigns") - gitsigns.setup({ - trouble = false, - on_attach = function(bufnr) - vim.keymap.set('n', '<leader>hs', gitsigns.stage_hunk, { buffer = bufnr }) - vim.keymap.set('n', '<leader>hu', gitsigns.undo_stage_hunk, { buffer = bufnr }) - vim.keymap.set('n', '<leader>hr', gitsigns.reset_hunk, { buffer = bufnr }) - vim.keymap.set('n', '<leader>hp', gitsigns.preview_hunk, { buffer = bufnr }) - vim.keymap.set('n', '<leader>hj', gitsigns.next_hunk, { buffer = bufnr }) - vim.keymap.set('n', '<leader>hk', gitsigns.prev_hunk, { buffer = bufnr }) - end, - max_file_length = 10000, - }) - end -} diff --git a/lua/alpha/plugins/harpoon.lua b/lua/alpha/plugins/harpoon.lua deleted file mode 100644 index b410c8e..0000000 --- a/lua/alpha/plugins/harpoon.lua +++ /dev/null @@ -1,11 +0,0 @@ -return { - "ThePrimeagen/harpoon", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-lua/popup.nvim", - }, - keys = require('alpha.harpoon').keymaps, - config = function () - require("alpha.harpoon").setup() - end -} diff --git a/lua/alpha/plugins/icon-picker.lua b/lua/alpha/plugins/icon-picker.lua deleted file mode 100644 index 55183db..0000000 --- a/lua/alpha/plugins/icon-picker.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - "ziontee113/icon-picker.nvim", - keys = { - { "<Leader><Leader>i", "<cmd>IconPickerNormal nerd_font<cr>", mode = "n" }, - { "<Leader><Leader>y", "<cmd>IconPickerYank nerd_font<cr>", mode = "n" }, - { "<C-o>", "<cmd>IconPickerInsert nerd_font<cr>", mode = "i" }, - }, - opts = { disable_legacy_commands = true } -} diff --git a/lua/alpha/plugins/init.lua b/lua/alpha/plugins/init.lua deleted file mode 100644 index b126f85..0000000 --- a/lua/alpha/plugins/init.lua +++ /dev/null @@ -1,28 +0,0 @@ -return { - "jwalton512/vim-blade", - { "junegunn/fzf.vim" }, - { - "junegunn/fzf", - build = function() - vim.fn["fzf#install"]() - end, - }, - { - "windwp/nvim-projectconfig", - config = function() - require("nvim-projectconfig").setup() - end, - }, - { - "tpope/vim-dispatch", - cmd = {"Make", "Dispatch"} - }, - "Raimondi/delimitMate", - "lukas-reineke/indent-blankline.nvim", - "tpope/vim-surround", - "tpope/vim-repeat", - "tpope/vim-rhubarb", - "tpope/vim-dotenv", - "tpope/vim-eunuch", - "adalessa/composer.nvim", -} diff --git a/lua/alpha/plugins/laravel.lua b/lua/alpha/plugins/laravel.lua deleted file mode 100644 index 60f8ad2..0000000 --- a/lua/alpha/plugins/laravel.lua +++ /dev/null @@ -1,15 +0,0 @@ -return { - "adalessa/laravel.nvim", - dependencies = { - "rcarriga/nvim-notify", - "nvim-telescope/telescope.nvim", - }, - cmd = {"Sail", "Artisan", "Composer"}, - keys = { - {"<leader>pa", ":Artisan<cr>"}, - }, - config = function() - require("laravel").setup() - require("telescope").load_extension("laravel") - end -} diff --git a/lua/alpha/plugins/lsp.lua b/lua/alpha/plugins/lsp.lua deleted file mode 100644 index 8d5c36a..0000000 --- a/lua/alpha/plugins/lsp.lua +++ /dev/null @@ -1,28 +0,0 @@ -return { - "neovim/nvim-lspconfig", - dependencies = { - "hrsh7th/cmp-nvim-lsp-signature-help", - { - "jose-elias-alvarez/null-ls.nvim", - dependencies = { - "adalessa/php-code-actions.nvim", - } - }, - "williamboman/mason.nvim", - "williamboman/mason-lspconfig.nvim", - "WhoIsSethDaniel/mason-tool-installer.nvim", - { - "j-hui/fidget.nvim", - opts = { - sources = { - ["null-ls"] = { - ignore = true - } - } - }, - }, - }, - config = function () - require("alpha.lsp") - end -} diff --git a/lua/alpha/plugins/lualine.lua b/lua/alpha/plugins/lualine.lua deleted file mode 100644 index f63efa0..0000000 --- a/lua/alpha/plugins/lualine.lua +++ /dev/null @@ -1,47 +0,0 @@ -return { - "nvim-lualine/lualine.nvim", - dependencies = { "kyazdani42/nvim-web-devicons" }, - config = function() - require("lualine").setup( - { - options = { - theme = vim.g.alpha_lualine_color, - icons_enabled = true, - globalstatus = true, - }, - extensions = { "quickfix", "fugitive" }, - sections = { - lualine_a = { { "mode", upper = true } }, - lualine_b = { { "branch", icon = "" }, "db_ui#statusline" }, - lualine_c = { { "filename", file_status = true, path = 1 } }, - lualine_x = { - "diagnostics", "diff", - { - require("lazy.status").updates, - cond = require("lazy.status").has_updates, - color = { fg = "ff9e64" }, - } - }, - lualine_y = { "filetype" }, - lualine_z = { "location" }, - }, - winbar = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = {}, - lualine_y = {}, - lualine_z = {}, - }, - inactive_winbar = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = {}, - lualine_y = {}, - lualine_z = {}, - }, - } - ) - end, -} diff --git a/lua/alpha/plugins/mind.lua b/lua/alpha/plugins/mind.lua deleted file mode 100644 index 70c0e23..0000000 --- a/lua/alpha/plugins/mind.lua +++ /dev/null @@ -1,16 +0,0 @@ -return { - "phaazon/mind.nvim", - branch = "v2.2", - dependencies = { "nvim-lua/plenary.nvim" }, - cmd = { "MindOpenMain", "MindOpenProject" }, - config = function() - local dirs = {} - if vim.fn.isdirectory("/mnt/nas/alpha/mind/data") == 1 then - dirs = { - state_path = "/mnt/nas/alpha/mind/mind.json", - data_dir = "/mnt/nas/alpha/mind/data", - } - end - require('mind').setup({ persistence = dirs }) - end -} diff --git a/lua/alpha/plugins/neotest.lua b/lua/alpha/plugins/neotest.lua deleted file mode 100644 index 5a332be..0000000 --- a/lua/alpha/plugins/neotest.lua +++ /dev/null @@ -1,64 +0,0 @@ -return { - "nvim-neotest/neotest", - enabled = false, - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-treesitter/nvim-treesitter", - "antoinemadec/FixCursorHold.nvim", - "nvim-neotest/neotest-go", - "rouge8/neotest-rust", - "nvim-neotest/neotest-plenary", - "nvim-neotest/neotest-vim-test", - "anuvyklack/hydra.nvim", - }, - config = function() - local neotest = require("neotest") - neotest.setup({ - adapters = { - require("neotest-go"), - require("neotest-rust"), - require("neotest-plenary"), - require("neotest-vim-test")({ - ignore_file_types = { "go", "lua", "rust", "php" }, - }), - -- require("laravel.neotest"), - }, - }) - - local hydra = require("hydra") - - local hint = [[ - NeoTest - _n_: Near test _f_: Current file _l_: Last Test _m_: Run Marked _s_: Toggle Summary ^ - ^ ^ _<Esc>_ - ]] - - hydra({ - name = "neotest", - hint = hint, - mode = "n", - config = { - color = "teal", - invoke_on_body = true, - hint = { - border = "rounded", - position = "bottom", - }, - }, - body = "<C-t>", - heads = { - { "n", neotest.run.run }, - { - "f", - function() - neotest.run.run(vim.fn.expand("%")) - end, - }, - { "l", neotest.run.run_last }, - { "m", neotest.summary.run_marked }, - { "s", neotest.summary.toggle }, - { "<Esc>", nil, { exit = true } }, - }, - }) - end -} diff --git a/lua/alpha/plugins/notify.lua b/lua/alpha/plugins/notify.lua deleted file mode 100644 index 4b2a82c..0000000 --- a/lua/alpha/plugins/notify.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "rcarriga/nvim-notify", - config = function() - local notify = require("notify") - notify.setup({ background_colour = "#000000" }) - vim.notify = notify.notify - end -} diff --git a/lua/alpha/plugins/refactoring.lua b/lua/alpha/plugins/refactoring.lua deleted file mode 100644 index 349cc63..0000000 --- a/lua/alpha/plugins/refactoring.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - "ThePrimeagen/refactoring.nvim", - dependencies = { - { "nvim-lua/plenary.nvim" }, - { "nvim-treesitter/nvim-treesitter" }, - }, - keys = { { "<leader>rr", function() - require("telescope").extensions.refactoring.refactors() - end, mode = { "n", "v" } } }, - config = function() - require("refactoring").setup({}) - require("telescope").load_extension("refactoring") - end -} diff --git a/lua/alpha/plugins/rest.lua b/lua/alpha/plugins/rest.lua deleted file mode 100644 index 7b60a9d..0000000 --- a/lua/alpha/plugins/rest.lua +++ /dev/null @@ -1,42 +0,0 @@ -return { - "NTBBloodbath/rest.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, - ft = "http", - config = function() - local rest_nvim = require("rest-nvim") - - rest_nvim.setup({ - -- Open request results in a horizontal split - result_split_horizontal = false, - -- Skip SSL verification, useful for unknown certificates - skip_ssl_verification = false, - -- Highlight request on run - highlight = { - enabled = true, - timeout = 150, - }, - result = { - -- toggle showing URL, HTTP info, headers at top the of result window - show_url = true, - show_http_info = true, - show_headers = true, - }, - -- Jump to request line on run - jump_to_request = false, - env_file = ".env", - custom_dynamic_variables = {}, - yank_dry_run = true, - }) - - vim.api.nvim_create_autocmd("FileType", { - pattern = "http", - callback = function() - local buff = tonumber(vim.fn.expand("<abuf>"), 10) - vim.keymap.set("n", "<leader>rn", rest_nvim.run, { noremap = true, buffer = buff }) - vim.keymap.set("n", "<leader>rl", rest_nvim.last, { noremap = true, buffer = buff }) - vim.keymap.set("n", "<leader>rp", function() rest_nvim.run(true) end, { noremap = true, buffer = buff }) - end - }) - - end -} diff --git a/lua/alpha/plugins/snippets.lua b/lua/alpha/plugins/snippets.lua deleted file mode 100644 index cba0dd1..0000000 --- a/lua/alpha/plugins/snippets.lua +++ /dev/null @@ -1,137 +0,0 @@ -local config = function() - if vim.g.snippets ~= "luasnip" then - return - end - - local ls = require("luasnip") - local types = require("luasnip.util.types") - - ls.config.set_config({ - -- This tells LuaSnip to remember to keep around the last snippet. |