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>
|
---@type table<string, conform.FormatterUnit>
|
||||||
M.formatters_by_ft = {
|
M.formatters_by_ft = {
|
||||||
|
css = { "prettier" },
|
||||||
|
scss = { "prettier" },
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
sh = { "shfmt" },
|
|
||||||
python = { "black" },
|
python = { "black" },
|
||||||
|
sh = { "shfmt" },
|
||||||
}
|
}
|
||||||
|
|
||||||
---@type table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride>
|
---@type table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride>
|
||||||
|
@ -39,6 +41,7 @@ M.mason_install = {
|
||||||
"hadolint",
|
"hadolint",
|
||||||
"marksman",
|
"marksman",
|
||||||
"markdownlint",
|
"markdownlint",
|
||||||
|
"prettier",
|
||||||
"ruff-lsp",
|
"ruff-lsp",
|
||||||
"rust-analyzer",
|
"rust-analyzer",
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,16 @@ return {
|
||||||
{
|
{
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
opts = { style = "night" },
|
opts = {
|
||||||
on_highlights = function(hl, _)
|
style = "night",
|
||||||
hl.CurSearch = nil
|
on_colors = function(c)
|
||||||
end,
|
c.border = c.bg_highlight
|
||||||
|
c.border_highlight = c.blue
|
||||||
|
end,
|
||||||
|
on_highlights = function(hl, _)
|
||||||
|
hl.CurSearch = nil
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
show color codes
|
show color codes
|
||||||
window split border contrast
|
|
||||||
|
|
Loading…
Reference in New Issue