summaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-01-04 00:05:58 +0500
committertalha <talha@talhaamir.xyz>2024-01-04 00:05:58 +0500
commit19ae0b8a623fcf2d5945d34484159ca6a7138806 (patch)
tree879ca6ecbb1ca91488a6a64af03c430e127478e0 /after
parenta2776ea78525cf4aeae8d099ff0b85dc3450374d (diff)
parentd17d01afef784a5277fa99b26bf7a9ba2ffa6357 (diff)
Merge branch 'main' of ta_git:/var/www/git/nvim
Diffstat (limited to 'after')
-rw-r--r--after/plugin/colors.lua27
-rw-r--r--after/plugin/lsp.lua1
-rw-r--r--after/plugin/vim-gutentags.lua6
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'}