Skip to content

Commit

Permalink
feat: add rust lsp (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuson authored Jul 21, 2024
1 parent 9bdf06c commit 0a5b0f7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ local on_attach = function(client, bufnr)
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
end

-- Rust
nvim_lsp.rust_analyzer.setup{
on_attach = on_attach,
}

-- TypeScript
nvim_lsp.tsserver.setup {
on_attach = on_attach,
Expand Down

0 comments on commit 0a5b0f7

Please sign in to comment.