以下の設定を使う。 | プロパティ名 | 説明 | | ------------------ | ------------------------------------- | | filetypes | 有効にする[[ファイルタイプ (Vim)\|ファイルタイプ]] (上書き) | | filetypes | 有効にする[[ファイルタイプ (Vim)\|ファイルタイプ]] (追記) | | disabled_filetypes | 無効にする | ```lua local sources = { null_ls.builtins.formatting.prettier.with({ filetypes = { "html", "json", "yaml", "markdown" }, -- disabled_filetypes = { "html", "json", "yaml", "markdown" }, }), } ```