From 9f36c9e319c3f62d2cc5fcc13888bb1c52549dd5 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 23 Jul 2024 17:04:16 +0300 Subject: refactor(neovim): minor changes and splited most plugins to their own file --- .config/nvim/lua/custom/plugins/lsp-plugins.lua | 73 ------------------------- 1 file changed, 73 deletions(-) delete mode 100644 .config/nvim/lua/custom/plugins/lsp-plugins.lua (limited to '.config/nvim/lua/custom/plugins/lsp-plugins.lua') diff --git a/.config/nvim/lua/custom/plugins/lsp-plugins.lua b/.config/nvim/lua/custom/plugins/lsp-plugins.lua deleted file mode 100644 index 0e77085..0000000 --- a/.config/nvim/lua/custom/plugins/lsp-plugins.lua +++ /dev/null @@ -1,73 +0,0 @@ -return { - { - 'nvimtools/none-ls.nvim', - event = 'LspAttach', - config = function() - local null_ls = require('null-ls') - null_ls.setup({ - sources = { - null_ls.builtins.formatting.stylua, - }, - }) - end, - }, - -- NOTE: [Good alternative](https://github.com/rachartier/tiny-inline-diagnostic.nvim) - -- although, this plugin is amazing, so I wouldn't switch it most likely - { - 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', - event = 'BufEnter', - config = function() - require('lsp_lines').setup() - vim.keymap.set('n', 'dt', require('lsp_lines').toggle, { desc = '[D]iagnostics [T]oggle inline' }) - end, - }, - { - -- FIXME: fork the repo and fix the following issues - -- Make both insert and normal be toggelable rather than insert always showing and normal toggleable - 'ray-x/lsp_signature.nvim', - event = 'LspAttach', - opts = { - bind = true, -- This is mandatory, otherwise border config won't get registered. - handler_opts = { border = 'single' }, - doc_lines = 0, - hint_enable = false, - }, - }, - { - 'folke/lazydev.nvim', - ft = 'lua', - opts = { library = { { path = 'luvit-meta/library', words = { 'vim%.uv' } } } }, - }, - { - 'nvimdev/lspsaga.nvim', - dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, - event = 'LspAttach', - opts = { - lightbulb = { - enable = false, - sign = false, - virtual_text = true, - }, - implement = { - sign = false, - virtual_text = true, - }, - floaterm = { - height = 0.7, - width = 0.7, - }, - outline = { - layout = 'float', - }, - -- TODO: Change in rename to smthing else - -- bcz I am using for moving between windows - -- Maybe for abort, for confirm - }, - }, - - -- AUtoformatting - -- 'stevear/conform.nvim', - - -- Schema info - -- 'b0o/SchemaStore.nvim', -} -- cgit v1.3.1