add prettier, correct tokyonight config
This commit is contained in:
parent
0bc98e9213
commit
c1fb9d112f
|
@ -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",
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
show color codes
|
||||
window split border contrast
|
||||
|
|
Loading…
Reference in New Issue