diff options
author | kylo252 <[email protected]> | 2021-07-31 06:06:08 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 00:06:08 -0400 |
commit | 9d89929d9bb47d1f78c2d3945b761da2f24a5643 (patch) | |
tree | 7f5d281ddb4bbdcecffe01c0234d02be32ede1f7 /utils/installer/lv-config.example.lua | |
parent | 6f4dd8471b24f71ed6712fb6b9acc0ac79b9137a (diff) |
Enable querying lang-server formatting capabilities (#1078)
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r-- | utils/installer/lv-config.example.lua | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index 681f5f65..843917a7 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -56,7 +56,20 @@ lvim.builtin.treesitter.highlight.enabled = true -- buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc") -- end --- python +-- set a formatter if you want to override the default lsp one (if it exists) +-- lvim.lang.python.formatters = { +-- { +-- exe = "black", +-- args = {} +-- } +-- } +-- set an additional linter +-- lvim.lang.python.linters = { +-- { +-- exe = "flake8", +-- args = {} +-- } +-- } -- Additional Plugins -- lvim.plugins = { |