From aad66b37010a905ace858eec570458567d5fff82 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 3 Jun 2026 23:56:21 +0300 Subject: install formatters --- .config/k/config.toml | 1 + .config/nvim/lua/plugins/conform.lua | 6 +++--- 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 -- cgit v1.3.1