nvim updates + git config update
This commit is contained in:
+3
-1
@@ -1,7 +1,7 @@
|
||||
[user]
|
||||
name = dxrknesss
|
||||
email = imp0rt4ntduck@gmail.com
|
||||
signingkey = imp0rt4ntduck@gmail.com
|
||||
signingkey = ~/.ssh/id_ed25519.pub
|
||||
[core]
|
||||
editor = nvim
|
||||
[commit]
|
||||
@@ -12,6 +12,8 @@
|
||||
version = HTTP/2
|
||||
[fetch]
|
||||
prune = true
|
||||
[gpg]
|
||||
format = ssh
|
||||
|
||||
[diff]
|
||||
tool = nvimdiff
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
"rev": "be81509b7160aa02264a59789164a2e1c4a6750a",
|
||||
"src": "https://github.com/nvim-mini/mini.nvim"
|
||||
},
|
||||
"modus-themes.nvim": {
|
||||
"rev": "17a64464c27c1be605adca13dbe48f2f402fe107",
|
||||
"src": "https://github.com/miikanissi/modus-themes.nvim"
|
||||
},
|
||||
"nvim-lspconfig": {
|
||||
"rev": "8fde495949782bb61c2605174e231d145a048d8c",
|
||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||
|
||||
@@ -118,10 +118,10 @@ local diagnostic_opts = {
|
||||
|
||||
-- Show more details immediately for errors on the current line
|
||||
virtual_lines = true,
|
||||
virtual_text = {
|
||||
current_line = true,
|
||||
severity = { min = 'ERROR', max = 'ERROR' },
|
||||
},
|
||||
-- virtual_text = {
|
||||
-- current_line = true,
|
||||
-- severity = { min = 'ERROR', max = 'ERROR' },
|
||||
-- },
|
||||
|
||||
-- Don't update diagnostics when typing
|
||||
update_in_insert = false,
|
||||
|
||||
@@ -152,6 +152,7 @@ nmap_leader('fr', '<Cmd>Pick resume<CR>', 'Resume')
|
||||
nmap_leader('fR', '<Cmd>Pick lsp scope="references"<CR>', 'References (LSP)')
|
||||
nmap_leader('fs', pick_workspace_symbols_live, 'Symbols workspace (live)')
|
||||
nmap_leader('fS', '<Cmd>Pick lsp scope="document_symbol"<CR>', 'Symbols document')
|
||||
nmap_leader('ft', '<Cmd>Pick grep pattern="TODO|NOTE|PERF|FIXME"<CR>', 'Find TODO comments')
|
||||
nmap_leader('fv', '<Cmd>Pick visit_paths cwd=""<CR>', 'Visit paths (all)')
|
||||
nmap_leader('fV', '<Cmd>Pick visit_paths<CR>', 'Visit paths (cwd)')
|
||||
|
||||
|
||||
@@ -105,7 +105,8 @@ now_if_args(function()
|
||||
-- Uncomment and tweak the following `vim.lsp.enable()` call to enable servers.
|
||||
vim.lsp.enable({
|
||||
'lua_ls',
|
||||
'clangd'
|
||||
'clangd',
|
||||
'ts_ls',
|
||||
-- For example, if `lua-language-server` is installed, use `'lua_ls'` entry
|
||||
})
|
||||
end)
|
||||
@@ -176,3 +177,8 @@ later(function() add({ 'https://github.com/rafamadriz/friendly-snippets' }) end)
|
||||
-- -- Enable only one
|
||||
-- vim.cmd('color everforest')
|
||||
-- end)
|
||||
Config.now(function ()
|
||||
add({'https://github.com/miikanissi/modus-themes.nvim'})
|
||||
end)
|
||||
vim.cmd.colorscheme('modus_vivendi')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user