diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-11-08 20:44:06 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-11-08 20:44:06 +0000 |
commit | 5dbc5a1fae4a2dc03f16035194e9854d37b5f6de (patch) | |
tree | 3d2f20d58547530f826ced28cff00735bd89243d | |
parent | b6726af45a1bc244923ff7ab7f6c822e0e4df66a (diff) | |
download | dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar.gz dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar.bz2 dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar.lz dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar.xz dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.tar.zst dotfiles-5dbc5a1fae4a2dc03f16035194e9854d37b5f6de.zip |
Neovim omnisharp plugin and tmux color fix on foot and inputrc emacs
-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 | ||||
-rw-r--r-- | .config/tmux/tmux.conf | 2 | ||||
-rw-r--r-- | .inputrc | 2 |
5 files changed, 13 insertions, 7 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; diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a81924c..45d6519 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,5 +1,5 @@ setw -g mouse on -set -g default-terminal "screen-256color" +set-option -ga terminal-overrides ",foot:Tc" setw -g mode-keys vi set -g history-limit 10000 set -sg escape-time 50 @@ -1,4 +1,4 @@ -set editing-mode vi +set editing-mode emacs set show-mode-in-prompt on |