diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-26 18:14:31 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-26 18:14:31 -0400 |
| commit | 812b44f324d988b3c23df83bac5b804cfbdd93fb (patch) | |
| tree | a3ccb9ad4b1c1565108abf13d1415672341ed241 /.config/nvim/lua/eugenetriguba/plugins/conjure.lua | |
| parent | Add nord colorscheme for nvim (diff) | |
| download | dotfiles-812b44f324d988b3c23df83bac5b804cfbdd93fb.zip | |
Update nvim config
Diffstat (limited to '.config/nvim/lua/eugenetriguba/plugins/conjure.lua')
| -rw-r--r-- | .config/nvim/lua/eugenetriguba/plugins/conjure.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/nvim/lua/eugenetriguba/plugins/conjure.lua b/.config/nvim/lua/eugenetriguba/plugins/conjure.lua new file mode 100644 index 0000000..30de08a --- /dev/null +++ b/.config/nvim/lua/eugenetriguba/plugins/conjure.lua @@ -0,0 +1,29 @@ +-- Remap the documentation word mapping so it doesn't conflict +-- with our LSP mapping. +vim.g['conjure#mapping#doc_word'] = 'gk' + +-- Only use conjure for certain languages. +vim.g['conjure#filetype'] = { 'scheme', 'lisp', 'fennel', 'lua', 'cl' } + +-- Map .lisp and .cl files to the Common Lisp swank client, not nREPL. +vim.g['conjure#filetype#cl'] = 'conjure.client.common-lisp.swank' +vim.g['conjure#filetype#lisp'] = 'conjure.client.common-lisp.swank' + +vim.api.nvim_create_autocmd('FileType', { + pattern = vim.g['conjure#filetype'], + once = true, + callback = function() + vim.pack.add { + { + name = 'conjure', + src = 'https://github.com/Olical/conjure', + version = 'v4.59.0', + }, + { + name = 'parinfer-rust', + src = 'https://github.com/eraserhd/parinfer-rust', + version = 'master', + }, + } + end, +}) |