diff options
| author | Nanderty <psopka@sopka.ch> | 2023-03-15 23:36:14 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-03-15 23:36:14 +0100 |
| commit | fba8830826fa88ef43d84fb051f90f11e4ae939b (patch) | |
| tree | 4fc0bbae7e49c9b670fc34505a8352400c0ffa8d /lua/Nanderty/Plugins | |
| parent | 59bd3aeee04b6ff559c51a324234a5100db0b2e1 (diff) | |
| download | neovim-config-fba8830826fa88ef43d84fb051f90f11e4ae939b.tar.gz neovim-config-fba8830826fa88ef43d84fb051f90f11e4ae939b.tar.bz2 neovim-config-fba8830826fa88ef43d84fb051f90f11e4ae939b.zip | |
cleanup
Diffstat (limited to 'lua/Nanderty/Plugins')
| -rw-r--r-- | lua/Nanderty/Plugins/bufferline.lua | 2 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/cmp.lua | 82 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/lualine.lua | 5 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/mini.lua | 7 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/neoformat.lua | 3 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/telescope.lua | 6 | ||||
| -rw-r--r-- | lua/Nanderty/Plugins/treesitter.lua | 10 |
7 files changed, 0 insertions, 115 deletions
diff --git a/lua/Nanderty/Plugins/bufferline.lua b/lua/Nanderty/Plugins/bufferline.lua deleted file mode 100644 index c5accc7..0000000 --- a/lua/Nanderty/Plugins/bufferline.lua +++ /dev/null @@ -1,2 +0,0 @@ -vim.opt.termguicolors = true -require("bufferline").setup{} diff --git a/lua/Nanderty/Plugins/cmp.lua b/lua/Nanderty/Plugins/cmp.lua deleted file mode 100644 index b9f2095..0000000 --- a/lua/Nanderty/Plugins/cmp.lua +++ /dev/null @@ -1,82 +0,0 @@ -require('mason').setup() - -require('mason-lspconfig').setup({ - ensure_installed = { - } -}) - -local lsp_capabilities = require('cmp_nvim_lsp').default_capabilities() -local lsp_attach = function(client, bufnr) -end - -local lspconfig = require('lspconfig') -require('mason-lspconfig').setup_handlers({ - function(server_name) - lspconfig[server_name].setup({ - on_attach = lsp_attach, - capabilities = lsp_capabilities, - }) - end, -}) - -local cmp = require'cmp' - -cmp.setup({ - snippet = { - expand = function(args) - vim.fn["UltiSnips#Anon"](args.body) - end, - }, - window = { - }, - mapping = cmp.mapping.preset.insert({ - ["<Tab>"] = cmp.mapping(function(fallback) - if vim.fn.pumvisible() == 1 then - feedkey("<C-n>", "n") - elseif cmp.visible() then - cmp.select_next_item() - else - fallback() - end - end, { - "i", - }), - ["<S-Tab>"] = cmp.mapping(function(fallback) - if vim.fn.pumvisible() == 1 then - feedkey("<C-p>", "n") - elseif cmp.visible() then - cmp.select_prev_item() - else - fallback() - end - end, { - "i", -}), -['<C-b>'] = cmp.mapping.scroll_docs(-4), -['<C-f>'] = cmp.mapping.scroll_docs(4), -['<C-Space>'] = cmp.mapping.complete(), -['<C-e>'] = cmp.mapping.abort(), -['<CR>'] = cmp.mapping.confirm({ select = true }), - }), - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - { name = 'ultisnips' }, - { name = 'omni' }, - { name = 'buffer' }, - }) -}) - -local lsp_capabilities = require('cmp_nvim_lsp').default_capabilities() -local lsp_attach = function(client, bufnr) - -- Create your keybindings here... -end - -local lspconfig = require('lspconfig') -require('mason-lspconfig').setup_handlers({ - function(server_name) - lspconfig[server_name].setup({ - on_attach = lsp_attach, - capabilities = lsp_capabilities, - }) - end, -}) diff --git a/lua/Nanderty/Plugins/lualine.lua b/lua/Nanderty/Plugins/lualine.lua deleted file mode 100644 index 5ace147..0000000 --- a/lua/Nanderty/Plugins/lualine.lua +++ /dev/null @@ -1,5 +0,0 @@ -require('lualine').setup { - options = { - theme = 'onedark' - } -} diff --git a/lua/Nanderty/Plugins/mini.lua b/lua/Nanderty/Plugins/mini.lua deleted file mode 100644 index 0546fe3..0000000 --- a/lua/Nanderty/Plugins/mini.lua +++ /dev/null @@ -1,7 +0,0 @@ -require('mini.starter').setup({ - evaluate_single = true -}) -require('mini.sessions').setup({ -force = {read = false, write = true, delete = true} -}) -require('mini.fuzzy').setup() diff --git a/lua/Nanderty/Plugins/neoformat.lua b/lua/Nanderty/Plugins/neoformat.lua deleted file mode 100644 index 54ed27d..0000000 --- a/lua/Nanderty/Plugins/neoformat.lua +++ /dev/null @@ -1,3 +0,0 @@ -vim.api.nvim_create_autocmd("BufWritePre", { -command = "Neoformat" -}) diff --git a/lua/Nanderty/Plugins/telescope.lua b/lua/Nanderty/Plugins/telescope.lua deleted file mode 100644 index 4806008..0000000 --- a/lua/Nanderty/Plugins/telescope.lua +++ /dev/null @@ -1,6 +0,0 @@ -local builtin = require('telescope.builtin') -vim.keymap.set('n', '<leader>pf', builtin.find_files, {}) -vim.keymap.set('n', '<C-p>', builtin.git_files, {}) -vim.keymap.set('n', '<leader>ps', function() - builtin.grep_string({ search = vim.fn.input("Grep > ") }); -end) diff --git a/lua/Nanderty/Plugins/treesitter.lua b/lua/Nanderty/Plugins/treesitter.lua deleted file mode 100644 index 2eef668..0000000 --- a/lua/Nanderty/Plugins/treesitter.lua +++ /dev/null @@ -1,10 +0,0 @@ -require'nvim-treesitter.configs'.setup { - ensure_installed = {"help", "javascript", "html", "css", "python", "cpp", "c", "lua", "php",}, - - sync_install = false, - - highlight = { - enable = true, - - }, -} |
