diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2022-12-06 18:55:53 +0000 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2022-12-06 18:55:53 +0000 |
| commit | b7b0ac63c159ab78c72a61adf0bc6d9a9bce2265 (patch) | |
| tree | a3c4627c68edcb59da4016aa4900fd012d4bf6c6 /fnl | |
| parent | bc2f3472c6fd4c63b54c4038d0975849c6770acc (diff) | |
turn of diagnostics in confjure buffer
Diffstat (limited to 'fnl')
| -rw-r--r-- | fnl/conf/pkgs/conjure.fnl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fnl/conf/pkgs/conjure.fnl b/fnl/conf/pkgs/conjure.fnl index c347e1a..c07a6f4 100644 --- a/fnl/conf/pkgs/conjure.fnl +++ b/fnl/conf/pkgs/conjure.fnl @@ -8,3 +8,10 @@ "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*]})) |
