From b33f3c3f5310f2b139091de043e5a91124b2f0b9 Mon Sep 17 00:00:00 2001 From: Gordon Goldbach Date: Mon, 11 Sep 2023 16:18:49 +0200 Subject: [PATCH] fixed formatting --- lua/plugins/formatter.lua | 3 ++- lua/plugins/neo-tree.lua | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins/formatter.lua b/lua/plugins/formatter.lua index 3651d2f..6d28624 100644 --- a/lua/plugins/formatter.lua +++ b/lua/plugins/formatter.lua @@ -12,6 +12,7 @@ require("formatter").setup( filetype = { typescriptreact = {prettierd}, json = {prettierd}, + jsonc = {prettierd}, css = {prettierd}, scss = {prettierd}, markdown = {prettierd}, @@ -72,7 +73,7 @@ vim.api.nvim_exec( [[ augroup FormatAutogroup autocmd! - autocmd BufWritePost *.h,*.cpp,*.rs,*.lua,*.tsx,*.ts,*.js,*.jsx,*.json FormatWrite + autocmd BufWritePost *.h,*.cpp,*.rs,*.lua,*.tsx,*.ts,*.js,*.jsx,*.json,*.jsonc FormatWrite augroup END ]], true diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 50b6c54..c4a1c64 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -13,8 +13,7 @@ require "window-picker".setup( buftype = {"terminal", "quickfix"} } }, - selection_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", - other_win_hl_color = "#519aba" + selection_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" } )