diff options
Diffstat (limited to 'utils/installer')
| -rw-r--r-- | utils/installer/config.example.lua | 18 | 
1 files changed, 14 insertions, 4 deletions
| diff --git a/utils/installer/config.example.lua b/utils/installer/config.example.lua index 5f516f2f..8f124ad3 100644 --- a/utils/installer/config.example.lua +++ b/utils/installer/config.example.lua @@ -118,9 +118,13 @@ lvim.builtin.treesitter.highlight.enabled = true  -- -- set a formatter, this will override the language server formatting capabilities (if it exists)  -- local formatters = require "lvim.lsp.null-ls.formatters"  -- formatters.setup { ---   { exe = "black" }, +--   { exe = "black", filetypes = { "python" } }, +--   { exe = "isort", filetypes = { "python" } },  --   {  --     exe = "prettier", +--     ---@usage arguments to pass to the formatter +--     -- these cannot contain whitespaces, options such as `--line-width 80` become either `{'--line-width', '80'}` or `{'--line-width=80'}` +--     args = { "--print-with", "100" },  --     ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports.  --     filetypes = { "typescript", "typescriptreact" },  --   }, @@ -129,11 +133,17 @@ lvim.builtin.treesitter.highlight.enabled = true  -- -- set additional linters  -- local linters = require "lvim.lsp.null-ls.linters"  -- linters.setup { ---   { exe = "black" }, +--   { exe = "flake8", filetypes = { "python" } },  --   { ---     exe = "eslint_d", +--     exe = "shellcheck", +--     ---@usage arguments to pass to the formatter +--     -- these cannot contain whitespaces, options such as `--line-width 80` become either `{'--line-width', '80'}` or `{'--line-width=80'}` +--     args = { "--severity", "warning" }, +--   }, +--   { +--     exe = "codespell",  --     ---@usage specify which filetypes to enable. By default a providers will attach to all the filetypes it supports. ---     filetypes = { "javascript", "javascriptreact" }, +--     filetypes = { "javascript", "python" },  --   },  -- } | 
