diff options
author | talha <talha@talhaamir.xyz> | 2024-01-03 19:34:10 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-01-03 19:34:10 +0500 |
commit | d17d01afef784a5277fa99b26bf7a9ba2ffa6357 (patch) | |
tree | 3b6703ee148d5830a6d279ff5a4eacdf1ec92729 /after/plugin | |
parent | db929434fa2f29e5674a5f24d71901b4fa458363 (diff) |
Updated colorscheme, added ctags
Diffstat (limited to 'after/plugin')
-rw-r--r-- | after/plugin/colors.lua | 27 | ||||
-rw-r--r-- | after/plugin/lsp.lua | 1 | ||||
-rw-r--r-- | after/plugin/vim-gutentags.lua | 6 |
3 files changed, 8 insertions, 26 deletions
diff --git a/after/plugin/colors.lua b/after/plugin/colors.lua index b32344f..6757b21 100644 --- a/after/plugin/colors.lua +++ b/after/plugin/colors.lua @@ -1,26 +1,3 @@ -require("gruvbox").setup({ - terminal_colors = true, -- add neovim terminal colors - undercurl = true, - underline = true, - bold = true, - italic = { - strings = true, - emphasis = true, - comments = true, - operators = false, - folds = true, - }, - strikethrough = true, - invert_selection = false, - invert_signs = false, - invert_tabline = false, - invert_intend_guides = false, - inverse = true, -- invert background for search, diffs, statuslines and errors - contrast = "", -- can be "hard", "soft" or empty string - palette_overrides = {}, - overrides = {}, - dim_inactive = false, - transparent_mode = false, -}) +vim.o.background = "dark" -vim.cmd("colorscheme nightfly") +vim.cmd("colorscheme vscode") diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 642328c..f8dae3c 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -20,7 +20,6 @@ lsp.on_attach(function(client, bufnr) vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts) vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts) vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts) - lsp.buffer_autoformat() end) lsp.setup() diff --git a/after/plugin/vim-gutentags.lua b/after/plugin/vim-gutentags.lua new file mode 100644 index 0000000..40bd630 --- /dev/null +++ b/after/plugin/vim-gutentags.lua @@ -0,0 +1,6 @@ +vim.opt.tags = './tags' +vim.g.gutentags_ctags_exclude_wildignore = 1 +vim.g.gutentags_ctags_exclude = { + 'node_modules', '_build', 'build', 'CMakeFiles', '.mypy_cache', 'venv', + '*.md', '*.tex', '*.css', '*.html', '*.json', '*.xml', '*.xmls', '*.ui', + '*.py', '*.sh', '*.sql', '*.wsgi'} |