add prettier, correct tokyonight config
This commit is contained in:
parent
c3ec737167
commit
41b1ae05a9
|
@ -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,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 = {
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
show color codes
|
||||
window split border contrast
|
||||
|
|
Loading…
Reference in New Issue