Browse Source

Updates

master
Julio Biason 1 year ago
parent
commit
4f997c5491
  1. 8
      alacritty/alacritty.yml
  2. 6
      nvim/after/plugin/lsp.lua

8
alacritty/alacritty.yml

@ -11,16 +11,16 @@ window:
font: font:
normal: normal:
family: Cascadia Code PL family: Cascadia Code PL
style: Medium style: SemiLight
bold: bold:
family: Cascadia Code PL family: Cascadia Code PL
style: Regular style: SemiLight Bold
italic: italic:
family: Cascadia Code PL family: Cascadia Code PL
style: Italic style: SemiLight Italic
bold_italic: bold_italic:
family: Cascadia Code PL family: Cascadia Code PL
style: Bold Italic style: SemiLight Bold Italic
size: 14.5 size: 14.5
# # Colors (Terminal.app) # # Colors (Terminal.app)

6
nvim/after/plugin/lsp.lua

@ -18,9 +18,9 @@ vim.api.nvim_create_autocmd('LspAttach', {
print(vim.inspect(vim.lsp.buf.list_workspace_folders())) print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
end, opts) end, opts)
vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts) vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts)
vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, opts) vim.keymap.set('n', 'gr', vim.lsp.buf.rename, opts)
vim.keymap.set({ 'n', 'v' }, '<space>ga', vim.lsp.buf.code_action, opts) vim.keymap.set({ 'n', 'v' }, 'ga', vim.lsp.buf.code_action, opts)
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts) vim.keymap.set('n', 'gR', vim.lsp.buf.references, opts)
vim.keymap.set('n', '<space>f', function() vim.keymap.set('n', '<space>f', function()
vim.lsp.buf.format { async = true } vim.lsp.buf.format { async = true }
end, opts) end, opts)

Loading…
Cancel
Save