From 9d89929d9bb47d1f78c2d3945b761da2f24a5643 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 31 Jul 2021 06:06:08 +0200 Subject: Enable querying lang-server formatting capabilities (#1078) --- README.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1934ef30..5450a530 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,24 @@ lvim.builtin.treesitter.ensure_installed = "maintained" lvim.builtin.treesitter.ignore_install = { "haskell" } lvim.builtin.treesitter.highlight.enabled = true -lvim.lang.python.formatter.exe = "black" -lvim.lang.python.linters = "" - lvim.lsp.diagnostics.virtual_text = false +-- 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 = { {"lunarvim/colorschemes"}, @@ -145,11 +158,6 @@ To update plugins: To update LunarVim: ```bash -# Master Branch -cd ~/.config/nvim && git pull -:PackerSync - -# Rolling Branch cd ~/.local/share/lunarvim/lvim && git pull :PackerSync ``` -- cgit v1.2.3