diff .chezmoitemplates/init.lua @ 792:6353f73b13b3

feat: add rust config
author zegervdv <zegervdv@me.com>
date Sat, 13 May 2023 22:38:45 +0200
parents 489b44423527
children 257ecaf271ee
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Wed May 10 12:12:56 2023 +0200
+++ b/.chezmoitemplates/init.lua	Sat May 13 22:38:45 2023 +0200
@@ -334,6 +334,7 @@
           'markdown',
           'rst',
           'beancount',
+          'rust',
         },
         indent = {
           enable = false,
@@ -1296,6 +1297,7 @@
 
 lsp.pyright.setup { on_attach = on_attach, capabilities = capabilities, root_dir = root_dir }
 lsp.bashls.setup { on_attach = on_attach, capabilities = capabilities }
+lsp.rust_analyzer.setup { on_attach = on_attach, capabilities = capabilities, root_dir = root_dir }
 
 lsp.esbonio.setup {
   on_attach = on_attach,