aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/lsp.lua4
-rw-r--r--.config/nvim/lua/plugins.lua6
-rw-r--r--.config/nvim/lua/statusline.lua6
-rw-r--r--.config/tmux/tmux.conf2
-rw-r--r--.inputrc2
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
diff --git a/.inputrc b/.inputrc
index 7b76213..f9ff5b2 100644
--- a/.inputrc
+++ b/.inputrc
@@ -1,4 +1,4 @@
-set editing-mode vi
+set editing-mode emacs
set show-mode-in-prompt on