Skip to content

Commit

Permalink
chore: Tweak clojure and buffer trick
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Nov 20, 2023
1 parent d0f3d46 commit 7cdbfed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/user/clojure.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, {

vim.api.nvim_create_autocmd({ "BufNewFile" }, {
pattern = { "conjure-log-*" },
callback = function()
vim.diagnostic.disable(0)
callback = function(args)
vim.diagnostic.disable(args.buf)
end
})

Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/user/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ return packer.startup(function(use)
vim.cmd [[
let g:conjure#filetypes = ["clojure"]
let g:conjure#mapping#doc_word = ["L"]
let g:conjure#client#clojure#nrepl#connection#auto_repl#cmd = "lein repl"
let g:conjure#client#clojure#nrepl#connection#auto_repl#cmd = "lein with-profile test repl :headless"
]]
end,
}
Expand Down

0 comments on commit 7cdbfed

Please sign in to comment.