add dotnet support and remove deprecated remap
This commit is contained in:
parent
a9c63d770f
commit
869a8cd673
|
|
@ -370,6 +370,8 @@ require('lazy').setup({
|
|||
--
|
||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
tsserver = {},
|
||||
csharp_ls = {},
|
||||
netcoredbg = {},
|
||||
--
|
||||
|
||||
lua_ls = {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,14 @@
|
|||
-- [[ Basic Keymaps ]]
|
||||
-- See `:help vim.keymap.set()`
|
||||
|
||||
vim.keymap.set('i', 'jj', '<Esc>')
|
||||
|
||||
-- clear higlight on search on pressing <Esc> in normal mode
|
||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||
|
||||
-- Diagnostic keymaps
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.jump, { count = -1, desc = 'Go to previous [D]iagnostic message' })
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.jump, { count = 1, desc = 'Go to next [D]iagnostic message' })
|
||||
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' })
|
||||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
||||
|
||||
|
|
|
|||
10
lua/set.lua
10
lua/set.lua
|
|
@ -11,8 +11,6 @@ vim.opt.relativenumber = true
|
|||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
vim.opt.colorcolumn = '100'
|
||||
|
||||
vim.g.have_nerd_font = false
|
||||
|
|
@ -32,9 +30,9 @@ vim.opt.clipboard = 'unnamedplus'
|
|||
|
||||
-- Enable break indent
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.shiftwidth = 4
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.smartindent = true
|
||||
|
||||
|
|
@ -53,7 +51,7 @@ vim.opt.smartcase = true
|
|||
vim.opt.signcolumn = 'yes'
|
||||
|
||||
-- Decrease update time
|
||||
vim.opt.updatetime = 250
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
-- Decrease mapped sequence wait time
|
||||
-- Displays which-key popup sooner
|
||||
|
|
|
|||
Loading…
Reference in New Issue