summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-06-03 23:56:21 +0300
committerKyren223 <contact@kyren.codes>2026-06-03 23:56:21 +0300
commitaad66b37010a905ace858eec570458567d5fff82 (patch)
tree2a4c74525fa4c2351fcdc55547369d03cd83524c /.config
parent82e76bad45acfa765ae397c62c94c1486314d497 (diff)
install formatters
Diffstat (limited to '.config')
-rw-r--r--.config/k/config.toml1
-rw-r--r--.config/nvim/lua/plugins/conform.lua6
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/k/config.toml b/.config/k/config.toml
index bf6cb2e..fb8fb81 100644
--- a/.config/k/config.toml
+++ b/.config/k/config.toml
@@ -60,6 +60,7 @@ python3-pip
nodejs
java-openjdk-headless java-25-openjdk-devel
filezilla
+jq
# Games
steam lutris Heroic-2.22.0-linux-x86_64.rpm
diff --git a/.config/nvim/lua/plugins/conform.lua b/.config/nvim/lua/plugins/conform.lua
index 662706c..90172a7 100644
--- a/.config/nvim/lua/plugins/conform.lua
+++ b/.config/nvim/lua/plugins/conform.lua
@@ -12,9 +12,6 @@ return {
opts = {
formatters_by_ft = {
['lua'] = { 'stylua' },
- -- ['c'] = { 'clang-format' },
- -- ['python'] = { 'isort', 'black' },
- -- ['rust'] = { 'rustfmt' },
['go'] = { 'gofumpt', 'goimports-reviser' },
['markdown'] = { 'prettierd', 'prettier', stop_after_first = true },
['yaml'] = { 'prettierd' },
@@ -23,6 +20,9 @@ return {
['css'] = { 'prettierd', 'prettier', stop_after_first = true },
['javascript'] = { 'prettierd', 'prettier', stop_after_first = true },
['typescript'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['c'] = { 'clang-format' },
+ -- ['python'] = { 'isort', 'black' },
+ -- ['rust'] = { 'rustfmt' },
},
format_on_save = function(bufnr)
-- Disable with a global or buffer local variable