diff options
author | talha <talha@talhaamir.xyz> | 2024-01-03 00:46:34 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-01-03 00:46:34 +0500 |
commit | e101b978d77ddbce2060c1a8ba898b873a8ed535 (patch) | |
tree | 4d0de4ba124be440471a68a0694d3a805c6c017f /after/plugin | |
parent | 7e1c16b7aefbb253e391dc5b8361621142772e3d (diff) | |
parent | db929434fa2f29e5674a5f24d71901b4fa458363 (diff) |
Merge branch 'main' of ta_git:/var/www/git/nvim
Diffstat (limited to 'after/plugin')
-rw-r--r-- | after/plugin/colors.lua | 16 | ||||
-rw-r--r-- | after/plugin/lsp.lua | 1 |
2 files changed, 2 insertions, 15 deletions
diff --git a/after/plugin/colors.lua b/after/plugin/colors.lua index 37afa2f..b32344f 100644 --- a/after/plugin/colors.lua +++ b/after/plugin/colors.lua @@ -23,18 +23,4 @@ require("gruvbox").setup({ transparent_mode = false, }) -vim.cmd("colorscheme gruvbox") - -function SetFocusColors(mode) - if mode == 'light' then - vim.opt.cursorline = false - vim.opt.colorcolumn = '0' - vim.cmd("colorscheme paper") - end - - if mode == 'dark' then - vim.opt.cursorline = true - vim.opt.colorcolumn = '120' - vim.cmd("colorscheme atlas") - end -end +vim.cmd("colorscheme nightfly") diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index f8dae3c..642328c 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -20,6 +20,7 @@ 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() |