mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
32 lines
702 B
Lua
32 lines
702 B
Lua
-- TOML
|
|
--[[ Installation
|
|
cargo install taplo-cli --locked
|
|
brew install taplo
|
|
pnpm install -g @taplo/cli
|
|
--]]
|
|
return {
|
|
cmd = { "taplo", "lsp", "stdio" },
|
|
filetypes = { "toml" },
|
|
root_markers = { ".git" },
|
|
settings = {
|
|
-- See all the setting options
|
|
-- https://github.com/tamasfe/taplo/blob/master/editors/vscode/package.json
|
|
evenBetterToml = {
|
|
taplo = {
|
|
configFile = {
|
|
enabled = true,
|
|
},
|
|
},
|
|
schema = {
|
|
enabled = true,
|
|
catalogs = {
|
|
"https://www.schemastore.org/api/json/catalog.json",
|
|
},
|
|
cache = {
|
|
memoryExpiration = 60,
|
|
diskExpiration = 600,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|