summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings/rust.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-13 19:50:30 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-13 19:50:30 +0200
commit7327360ff60acdad5161754371cfc19851c16d6c (patch)
tree7df3563d60e98f8d611fa6bd986853891dfc6821 /fnl/config/lsp/settings/rust.fnl
parent56466e4d0f0d61983656cddcb9737e54a66a86dd (diff)
Add rust ls config
Diffstat (limited to 'fnl/config/lsp/settings/rust.fnl')
-rw-r--r--fnl/config/lsp/settings/rust.fnl6
1 files changed, 6 insertions, 0 deletions
diff --git a/fnl/config/lsp/settings/rust.fnl b/fnl/config/lsp/settings/rust.fnl
new file mode 100644
index 0000000..b7277a1
--- /dev/null
+++ b/fnl/config/lsp/settings/rust.fnl
@@ -0,0 +1,6 @@
+;; Configuration for rust langauage server.
+(module config.lsp.settings.rust)
+
+(def opts
+ {:settings {:rust-analyzer {:lens {:enable true}
+ :checkOnSave {:command :clippy}}}})