diff --git a/after/plugin/color.lua b/after/plugin/color.lua deleted file mode 100644 index 95a30b3..0000000 --- a/after/plugin/color.lua +++ /dev/null @@ -1,6 +0,0 @@ -function ColorMyWords(color) - color = color or "nord" - vim.cmd[[colorscheme nord]] -end - -ColorMyWords() diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua deleted file mode 100644 index 1d1e587..0000000 --- a/after/plugin/lsp.lua +++ /dev/null @@ -1,30 +0,0 @@ -local lsp_zero = require('lsp-zero') - -lsp_zero.on_attach(function(client, bufnr) - lsp_zero.default_keymaps({buffer = bufnr}) -end) - -require('mason').setup({}) -require('mason-lspconfig').setup({ - handlers = { - function(server_name) - require('lspconfig')[server_name].setup({}) --lsp_zero.default_setup, - end - }, -}) - -local cmp = require('cmp') - -local cmp_action = require('lsp-zero').cmp_action() - -cmp.setup({ - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - { name = 'nvim_lsp_signature_help' } - - }), - mapping = cmp.mapping.preset.insert({ - [''] = cmp_action.tab_complete(), - [''] = cmp_action.select_prev_or_fallback(), - }), -}) diff --git a/after/plugin/rainbow.lua b/after/plugin/rainbow.lua deleted file mode 100644 index 2fad4fc..0000000 --- a/after/plugin/rainbow.lua +++ /dev/null @@ -1,29 +0,0 @@ --- This module contains a number of default definitions -local rainbow_delimiters = require 'rainbow-delimiters' - ----@type rainbow_delimiters.config -vim.g.rainbow_delimiters = { - strategy = { - [''] = rainbow_delimiters.strategy['global'], - vim = rainbow_delimiters.strategy['local'], - }, - query = { - [''] = 'rainbow-delimiters', - - lua = 'rainbow-blocks', - }, - priority = { - - [''] = 110, - lua = 210, - }, - highlight = { - 'RainbowDelimiterRed', - 'RainbowDelimiterYellow', - 'RainbowDelimiterBlue', - 'RainbowDelimiterOrange', - 'RainbowDelimiterGreen', - 'RainbowDelimiterViolet', - 'RainbowDelimiterCyan', - }, -} diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua deleted file mode 100644 index b30a7f8..0000000 --- a/after/plugin/telescope.lua +++ /dev/null @@ -1,6 +0,0 @@ -local builtin = require('telescope.builtin') -vim.keymap.set('n', 'p', builtin.find_files, {}) -vim.keymap.set('n', '', builtin.git_files, {}) -vim.keymap.set('n', 'ag', function () - builtin.grep_string({ search = vim.fn.input("Grep > " ) }); -end) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua deleted file mode 100644 index b9ebfd7..0000000 --- a/after/plugin/treesitter.lua +++ /dev/null @@ -1,25 +0,0 @@ -require'nvim-treesitter.configs'.setup { - -- A list of parser names, or "all" (the five listed parsers should always be installed) - ensure_installed = { "c", "javascript","typescript","lua", "go","vim", "vimdoc", "query","yaml","json" }, - - - -- Install parsers synchronously (only applied to `ensure_installed`) - sync_install = false, - - -- Automatically install missing parsers when entering buffer - -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally - auto_install = true, - - - -- List of parsers to ignore installing (or "all") - highlight = { - enable = true, - disable = {"yaml"}, - -- Setting this to true will run `:h syntax` and tree-sitter at the same time. - -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). - -- Using this option may slow down your editor, and you may see some duplicate highlights. - -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, - - }, - } diff --git a/after/plugin/whitespace.lua b/after/plugin/whitespace.lua deleted file mode 100644 index 7fdc7bc..0000000 --- a/after/plugin/whitespace.lua +++ /dev/null @@ -1,8 +0,0 @@ -vim.g.better_whitespace_enabled = 0 -vim.g.strip_whitespace_on_save = 0 - - - - - -