From 9cb835986c5a1f584c8a35dbd71b0447d081ac09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 26 May 2023 15:15:55 +0200 Subject: [PATCH] Add clojure tools --- symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua | 6 ++++++ symlinks/tool-versions | 1 + 2 files changed, 7 insertions(+) diff --git a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua index e1fcca3..19805b4 100644 --- a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua +++ b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua @@ -17,6 +17,12 @@ null_ls.setup({ null_ls.builtins.formatting.ktlint, null_ls.builtins.diagnostics.ktlint, + -- Clojure + null_ls.builtins.diagnostics.clj_kondo, + null_ls.builtins.formatting.joker.with({ + filetypes = { "clojure" }, + }), + -- C++ and C null_ls.builtins.formatting.clang_format.with({ filetypes = { "cpp", "c" }, diff --git a/symlinks/tool-versions b/symlinks/tool-versions index d685044..736c93d 100644 --- a/symlinks/tool-versions +++ b/symlinks/tool-versions @@ -6,3 +6,4 @@ neovim 0.9.0 java openjdk-17.0.2 rust stable golang 1.19.1 +clojure 1.11.1.1342