diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/lsp.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 6 | ||||
-rw-r--r-- | .config/nvim/lua/statusline.lua | 6 |
3 files changed, 11 insertions, 5 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua index c148108..5610629 100644 --- a/.config/nvim/lua/lsp.lua +++ b/.config/nvim/lua/lsp.lua @@ -105,6 +105,10 @@ require("lspconfig").sqls.setup({ require("lspconfig").omnisharp.setup({ cmd = { "omnisharp" }; + handlers = { + ["textDocument/definition"] = require("omnisharp_extended").handler; + }; + on_attach = on_attach; capabilities = capabilities; -- Enables support for reading code style, naming convention and analyzer diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 6f5c994..b2ca11d 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -31,7 +31,6 @@ local PKGS = { { url = "https://github.com/dracula/vim.git" }; { url = "https://github.com/folke/tokyonight.nvim.git" }; { url = "https://github.com/Mofiqul/vscode.nvim.git" }; - -- { url = "https://github.com/marko-cerovac/material.nvim.git" }; { url = "https://github.com/sainnhe/sonokai.git" }; { url = "https://github.com/navarasu/onedark.nvim.git" }; { url = "https://github.com/Mofiqul/adwaita.nvim.git" }; @@ -60,6 +59,7 @@ local PKGS = { { url = "https://github.com/lvimuser/lsp-inlayhints.nvim.git" }; { url = "https://github.com/sigmaSd/deno-nvim.git" }; { url = "https://github.com/ray-x/lsp_signature.nvim.git" }; + { url = "https://github.com/Hoffs/omnisharp-extended-lsp.nvim.git" }; -- Dev container { url = "https://codeberg.org/esensar/nvim-dev-container.git" }; @@ -184,10 +184,10 @@ local function init_plugins() ensure_installed = { "javascript"; "typescript"; "lua"; "c_sharp"; "jsonc" }; sync_install = false; auto_install = true; - highlight = { enable = true; disable = { "markdown"; "yaml"; "sql" } }; + highlight = { enable = true; disable = { "markdown"; "yaml"; "sql"; "help" } }; }) - require('mini.surround').setup({}) + require("mini.surround").setup({}) end diff --git a/.config/nvim/lua/statusline.lua b/.config/nvim/lua/statusline.lua index 3eef3c6..3265b2c 100644 --- a/.config/nvim/lua/statusline.lua +++ b/.config/nvim/lua/statusline.lua @@ -4,8 +4,10 @@ require("lualine").setup { options = { icons_enabled = true; theme = "auto"; - component_separators = { left = ""; right = "" }; - section_separators = { left = ""; right = "" }; + --component_separators = { left = ""; right = "" }; + --section_separators = { left = ""; right = "" }; + component_separators = { left = ""; right = "" }; + section_separators = { left = ""; right = "" }; disabled_filetypes = {}; always_divide_middle = true; globalstatus = false; |