Updated Desktop dotfiles

This commit is contained in:
2024-05-28 18:52:55 -05:00
parent b413c6186a
commit 4e485e6277
8 changed files with 303 additions and 32 deletions

View File

@@ -10,6 +10,8 @@ vim.keymap.set('n', '<leader>ff', ':FzfLua files<CR>')
vim.keymap.set('n', '<leader>fb', ':FzfLua buffers<CR>')
vim.keymap.set('n', '<leader>rg', ':FzfLua grep_project<CR>')
vim.keymap.set('i', '<S-Tab>', '<C-d>')
vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)

View File

@@ -33,6 +33,13 @@ local plugins = {
'jalvesaq/Nvim-R',
{
'RaafatTurki/hex.nvim',
config = function()
require('hex').setup()
end
},
}
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"

View File

@@ -24,7 +24,11 @@ lspconfig.rust_analyzer.setup {
},
}
local default_servers = {'ccls', 'pylsp', 'typst_lsp', 'r_language_server'}
lspconfig.omnisharp.setup {
cmd = { "dotnet", "/usr/lib/omnisharp-roslyn/OmniSharp.dll"}
}
local default_servers = {'pylsp', 'ccls', 'typst_lsp', 'r_language_server', 'lua_ls'}
for _, lsp in ipairs(default_servers) do
lspconfig[lsp].setup {

View File

@@ -36,4 +36,4 @@ vim.opt.completeopt=menuone,noselect
vim.opt.undofile=true
vim.g['loaded_perl_provider']=0
vim.g['python3_host_prog']='/usr/bin/python'
vim.g['python3_host_prog']='/usr/bin/python3'