nvim: don't lazy-load org, fix lsp keymap

This commit is contained in:
tastytea 2022-08-12 15:21:43 +02:00
parent f8e686a334
commit 34427ef8bc
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 2 additions and 3 deletions

View File

@ -37,6 +37,5 @@ packer.use {
end
}
)
end,
ft = 'org'
end
}

View File

@ -32,7 +32,7 @@ packer.use {
end)
map('n', '<Leader>lrn', vim.lsp.buf.rename)
map('n', '<Leader>la', vim.lsp.buf.code_action)
map('n', '<Leader>f', vim.lsp.buf.formatting)
map('n', '<Leader>lf', vim.lsp.buf.formatting)
-- highlight symbol under cursor
if client.resolved_capabilities.document_highlight then