diff --git a/.config/nvim/lua/config/language.lua b/.config/nvim/lua/config/language.lua index 51b524bb0..c10eabbf5 100644 --- a/.config/nvim/lua/config/language.lua +++ b/.config/nvim/lua/config/language.lua @@ -4,9 +4,11 @@ local M = {} ---@type table M.formatters_by_ft = { + css = { "prettier" }, + scss = { "prettier" }, lua = { "stylua" }, - sh = { "shfmt" }, python = { "black" }, + sh = { "shfmt" }, } ---@type table @@ -39,6 +41,7 @@ M.mason_install = { "hadolint", "marksman", "markdownlint", + "prettier", "ruff-lsp", "rust-analyzer", } diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 5afbf2020..fae760a30 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -3,10 +3,16 @@ return { { "folke/tokyonight.nvim", lazy = true, - opts = { style = "night" }, - on_highlights = function(hl, _) - hl.CurSearch = nil - end, + opts = { + style = "night", + on_colors = function(c) + c.border = c.bg_highlight + c.border_highlight = c.blue + end, + on_highlights = function(hl, _) + hl.CurSearch = nil + end, + }, }, { "folke/noice.nvim", diff --git a/.config/nvim/todo b/.config/nvim/todo index cc22b9886..9482d5c6b 100644 --- a/.config/nvim/todo +++ b/.config/nvim/todo @@ -1,2 +1 @@ show color codes -window split border contrast