diff options
| author | Christian Chiarulli <[email protected]> | 2021-11-06 18:22:24 +0000 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-06 18:22:24 +0000 | 
| commit | 3cd9e4c982f2fed94d45896287cedaecb72d684f (patch) | |
| tree | 4765816819b5b5aa3428daa2b2b1d0c4564acd9c /utils | |
| parent | e2bd7fb922d100f7fa955e8e1f7171e800ee15f7 (diff) | |
chore: pin cmp related plugins (#1917)
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" },  --   },  -- } | 
