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 c3ec737167
commit 41b1ae05a9
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,11 +3,17 @@ return {
{
"folke/tokyonight.nvim",
lazy = true,
opts = { style = "night" },
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",
opts = {

View File

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