diff options
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r-- | utils/installer/lv-config.example.lua | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index b61a0271..7072c60c 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -7,28 +7,23 @@ a global executable or a path to an executable ]] -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT + -- general + O.format_on_save = true -O.auto_complete = true +O.completion.autocomplete = true O.colorscheme = "spacegray" O.auto_close_tree = 0 -O.wrap_lines = false -O.timeoutlen = 100 +O.default_options.wrap = true +O.default_options.timeoutlen = 100 O.leader_key = " " -O.ignore_case = true -O.smart_case = true --- TODO User Config for predefined plugins +-- TODO: User Config for predefined plugins -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile O.plugin.dashboard.active = true -O.plugin.colorizer.active = false -O.plugin.ts_playground.active = false -O.plugin.indent_line.active = false +O.plugin.floatterm.active = true O.plugin.zen.active = false - --- dashboard --- O.dashboard.custom_header = {""} --- O.dashboard.footer = {""} +O.plugin.zen.window.height = 0.90 -- if you don't want all the parsers change this to a table of the ones you want O.treesitter.ensure_installed = "maintained" @@ -36,14 +31,31 @@ O.treesitter.ignore_install = { "haskell" } O.treesitter.highlight.enabled = true -- python --- O.python.linter = 'flake8' +-- 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 +-- O.lang.python.formatter.exe = "black" +-- O.lang.python.formatter.args = {"-"} + +-- go +-- to change default formatter from gofmt to goimports +-- O.lang.formatter.go.exe = "goimports" -- javascript O.lang.tsserver.linter = nil +-- rust +-- O.lang.rust.formatter = { +-- exe = "rustfmt", +-- args = {"--emit=stdout", "--edition=2018"}, +-- } + +-- latex +-- O.lang.latex.auto_save = false +-- O.lang.latex.ignore_errors = { } + -- Additional Plugins -- O.user_plugins = { -- {"folke/tokyonight.nvim"}, { |