mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 18:14:40 +02:00
updated readme (#1000)
This commit is contained in:
parent
dd5de4217d
commit
f5991a9d1b
3 changed files with 6 additions and 7 deletions
|
@ -60,7 +60,8 @@ Example:
|
|||
|
||||
-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
|
||||
-- general
|
||||
-- O.default_options.wrap = true -- wrap long lines
|
||||
-- O.format_on_save = false -- to disbale formatting on save
|
||||
-- O.lint_on_save = false -- to disable formatting on save
|
||||
O.completion.autocomplete = true
|
||||
O.default_options.relativenumber = true
|
||||
O.colorscheme = 'spacegray'
|
||||
|
@ -87,12 +88,14 @@ O.lang.tsserver.linter = nil
|
|||
O.lang.tsserver.autoformat = true
|
||||
|
||||
-- python
|
||||
O.lang.python.isort = true
|
||||
O.lang.python.diagnostics.virtual_text = true
|
||||
O.lang.python.analysis.use_library_code_types = true
|
||||
-- to change default formatter from yapf to black
|
||||
-- O.lang.python.formatter.exe = "black"
|
||||
-- O.lang.python.formatter.args = {"-"}
|
||||
-- To change enabled linters
|
||||
-- https://github.com/mfussenegger/nvim-lint#available-linters
|
||||
-- O.lang.python.linters = { "flake8", "pylint", "mypy", ... }
|
||||
|
||||
-- go
|
||||
-- to change default formatter from gofmt to goimports
|
||||
|
|
|
@ -33,8 +33,6 @@ O.treesitter.ignore_install = { "haskell" }
|
|||
O.treesitter.highlight.enabled = true
|
||||
|
||||
-- python
|
||||
-- O.python.linter = 'flake8'
|
||||
O.lang.python.isort = true
|
||||
O.lang.python.diagnostics.virtual_text = true
|
||||
O.lang.python.analysis.use_library_code_types = true
|
||||
-- To change default formatter from yapf to black
|
||||
|
|
|
@ -33,8 +33,6 @@ O.treesitter.ignore_install = { "haskell" }
|
|||
O.treesitter.highlight.enabled = true
|
||||
|
||||
-- python
|
||||
-- O.lang.python.linter = 'flake8'
|
||||
O.lang.python.isort = true
|
||||
O.lang.python.diagnostics.virtual_text = true
|
||||
O.lang.python.analysis.use_library_code_types = true
|
||||
-- To change default formatter from yapf to black
|
||||
|
@ -60,7 +58,7 @@ O.lang.tsserver.linter = nil
|
|||
|
||||
-- scala
|
||||
-- O.lang.scala.metals.active = true
|
||||
-- O.lang.scala.metals.server_version = "0.10.2+33-c6441eb4-SNAPSHOT",
|
||||
-- O.lang.scala.metals.server_version = "0.10.5",
|
||||
|
||||
--LaTeX
|
||||
-- Options: https://github.com/latex-lsp/texlab/blob/master/docs/options.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue