1
0
Fork 0

add prettier, correct tokyonight config

This commit is contained in:
Luca Bilke 2024-04-25 11:46:31 +02:00
parent 7de726fa9d
commit 4361325e6f
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
3 changed files with 14 additions and 6 deletions

View File

@ -4,9 +4,11 @@ local M = {}
---@type table<string, conform.FormatterUnit>
M.formatters_by_ft = {
css = { "prettier" },
scss = { "prettier" },
lua = { "stylua" },
sh = { "shfmt" },
python = { "black" },
sh = { "shfmt" },
}
---@type table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride>
@ -39,6 +41,7 @@ M.mason_install = {
"hadolint",
"marksman",
"markdownlint",
"prettier",
"ruff-lsp",
"rust-analyzer",
}

View File

@ -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",

View File

@ -1,2 +1 @@
show color codes
window split border contrast