diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-11-05 10:38:08 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-11-05 10:38:20 +0100 |
| commit | cab61c714497d00a7d5b7c30f6813333e5801451 (patch) | |
| tree | e67942fe713fd7d0fdbff9ad9b243b3d01d9c6bd /mut/neovim | |
| parent | 1fddf119a41030d3eebefeaf9603909fc2f23cca (diff) | |
remove confjure
Diffstat (limited to 'mut/neovim')
| -rw-r--r-- | mut/neovim/fnl/conf/pkgs/conjure.fnl | 34 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/pkgs/lspconfig.fnl | 5 |
2 files changed, 21 insertions, 18 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)) |
