summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mut/neovim/fnl/conf/pkgs/conjure.fnl34
-rw-r--r--mut/neovim/fnl/conf/pkgs/lspconfig.fnl5
-rw-r--r--profiles/core/neovim.nix2
3 files changed, 22 insertions, 19 deletions
diff --git a/mut/neovim/fnl/conf/pkgs/conjure.fnl b/mut/neovim/fnl/conf/pkgs/conjure.fnl
index c07a6f4..3bdc32c 100644
--- a/mut/neovim/fnl/conf/pkgs/conjure.fnl
+++ b/mut/neovim/fnl/conf/pkgs/conjure.fnl
@@ -1,17 +1,17 @@
-(tset vim.g "conjure#log#wrap" true)
-
-(tset vim.g "conjure#client#python#stdio#command" "python -iq")
-
-(vim.api.nvim_create_user_command :ConjurePythonCommand
- (fn [opts]
- (tset vim.g
- "conjure#client#python#stdio#command"
- opts.args))
- {:nargs 1})
-
-(let [group (vim.api.nvim_create_augroup "conf#pkgs#conjure" {:clear true})]
- (vim.api.nvim_create_autocmd [:BufEnter]
- {: group
- :callback (fn [opts]
- (vim.diagnostic.disable opts.buf))
- :pattern [:conjure-log*]}))
+;; (tset vim.g "conjure#log#wrap" true)
+;;
+;; (tset vim.g "conjure#client#python#stdio#command" "python -iq")
+;;
+;; (vim.api.nvim_create_user_command :ConjurePythonCommand
+;; (fn [opts]
+;; (tset vim.g
+;; "conjure#client#python#stdio#command"
+;; opts.args))
+;; {:nargs 1})
+;;
+;; (let [group (vim.api.nvim_create_augroup "conf#pkgs#conjure" {:clear true})]
+;; (vim.api.nvim_create_autocmd [:BufEnter]
+;; {: group
+;; :callback (fn [opts]
+;; (vim.diagnostic.disable opts.buf))
+;; :pattern [:conjure-log*]}))
diff --git a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
index f90339e..b6920ef 100644
--- a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
+++ b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
@@ -3,7 +3,10 @@
(local {: attach} (require :conf.lsp))
(lspconfig.rust_analyzer.setup
- {:root_dir
+ {:settings
+ {:rust-analyzer
+ {:cargo {:features [:ssr]}}}
+ :root_dir
(lspconfig.util.root_pattern
:.git
(vim.fn.getcwd))
diff --git a/profiles/core/neovim.nix b/profiles/core/neovim.nix
index eaebc2d..533fe92 100644
--- a/profiles/core/neovim.nix
+++ b/profiles/core/neovim.nix
@@ -77,7 +77,7 @@
cmp_luasnip
# trying out lisp
- conjure
+ # conjure
vim-racket
nvim-parinfer
hotpot-nvim