diff options
| author | kylo252 <[email protected]> | 2021-11-06 13:18:59 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-06 13:18:59 +0100 | 
| commit | 4207e6764045efdf725d2c3befef9a8adc5322e1 (patch) | |
| tree | 7180397b2a4cffe97b8298cd3dc8d09118d42498 /utils | |
| parent | 32cabcde9f17c7f2b4f086cbf8bda08388c9e124 (diff) | |
chore: sort supported providers alphabetically (#1916)
Diffstat (limited to 'utils')
| -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" },  --   },  -- } | 
