mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 01:26:46 +00:00
updates
This commit is contained in:
@@ -25,18 +25,18 @@ return {
|
||||
},
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
astro = { 'prettier' },
|
||||
go = { 'gofmt' },
|
||||
python = { 'ruff' },
|
||||
javascript = { 'biome', 'prettier', stop_after_first = true },
|
||||
typescript = { 'biome', 'prettier', stop_after_first = true },
|
||||
html = { 'prettier' },
|
||||
css = { 'prettier' },
|
||||
yaml = { 'prettier' },
|
||||
html = { 'biome', 'prettier', stop_after_first = true },
|
||||
css = { 'biome', 'prettier', stop_after_first = true },
|
||||
rust = { 'rustfmt', lsp_format = 'fallback' },
|
||||
json = { 'biome', 'prettier', stop_after_first = true },
|
||||
astro = { 'biome', 'prettier', stop_after_first = true },
|
||||
vue = { 'biome', 'prettier' },
|
||||
svelte = { 'biome', 'prettier', stop_after_first = true },
|
||||
yaml = { 'prettier' },
|
||||
php = { 'pint', stop_after_first = true },
|
||||
},
|
||||
formatters = {
|
||||
|
||||
@@ -17,6 +17,27 @@ return {
|
||||
path = 1,
|
||||
},
|
||||
},
|
||||
lualine_x = {
|
||||
{
|
||||
'lsp_status',
|
||||
icon = '', -- f013
|
||||
symbols = {
|
||||
-- Standard unicode symbols to cycle through for LSP progress:
|
||||
spinner = { '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏' },
|
||||
-- Standard unicode symbol for when LSP is done:
|
||||
done = '✓',
|
||||
-- Delimiter inserted between LSP names:
|
||||
separator = ' ',
|
||||
},
|
||||
-- List of LSP names to ignore (e.g., `null-ls`):
|
||||
ignore_lsp = {},
|
||||
-- Display the LSP name
|
||||
show_name = true,
|
||||
},
|
||||
'encoding',
|
||||
'fileformat',
|
||||
'filetype',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user