diff options
author | Rafael <[email protected]> | 2021-07-04 22:14:01 -0300 |
---|---|---|
committer | Rafael <[email protected]> | 2021-07-04 22:14:01 -0300 |
commit | 9f511bcb594b7e2461c97cb8182603928c773c2f (patch) | |
tree | c08a825ae91201fb0062dbd7a8094357f5c78dc9 /utils/installer/lv-config.example.lua | |
parent | b461c878e6f70a6795d0e9b438335ccfecbb4bd9 (diff) |
start formatting rules
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r-- | utils/installer/lv-config.example.lua | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index 6910a2cb..b043ea3b 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -5,16 +5,17 @@ Formatters and linters should be filled in as strings with either a global executable or a path to an executable -]] -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT +]] +-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT -- general O.auto_complete = true -O.colorscheme = 'spacegray' +O.colorscheme = "spacegray" O.auto_close_tree = 0 O.wrap_lines = false O.timeoutlen = 100 O.document_highlight = true O.extras = false -O.leader_key = ' ' +O.leader_key = " " O.ignore_case = true O.smart_case = true O.lushmode = false @@ -38,7 +39,7 @@ O.plugin.zen.active = false -- if you don't want all the parsers change this to a table of the ones you want O.treesitter.ensure_installed = "all" -O.treesitter.ignore_install = {"haskell"} +O.treesitter.ignore_install = { "haskell" } O.treesitter.highlight.enabled = true O.lang.clang.diagnostics.virtual_text = true @@ -49,7 +50,7 @@ O.lang.clang.diagnostics.underline = true -- add things like O.python.formatter.yapf.exec_path -- add things like O.python.linter.flake8.exec_path -- add things like O.python.formatter.isort.exec_path -O.lang.python.formatter = 'yapf' +O.lang.python.formatter = "yapf" -- O.python.linter = 'flake8' O.lang.python.isort = true O.lang.python.autoformat = true @@ -60,15 +61,14 @@ O.lang.python.analysis.type_checking = "off" O.lang.python.analysis.auto_search_paths = true O.lang.python.analysis.use_library_code_types = true - -- lua -- TODO look into stylua -O.lang.lua.formatter = 'lua-format' +O.lang.lua.formatter = "lua-format" -- O.lua.formatter = 'lua-format' O.lang.lua.autoformat = false -- javascript -O.lang.tsserver.formatter = 'prettier' +O.lang.tsserver.formatter = "prettier" O.lang.tsserver.linter = nil O.lang.tsserver.autoformat = true @@ -94,7 +94,7 @@ O.lang.php.environment.php_version = "7.4" O.lang.php.autoformat = false O.lang.php.diagnostics.signs = true O.lang.php.diagnostics.underline = true -O.lang.php.filetypes = { "php", "phtml" } +O.lang.php.filetypes = { "php", "phtml" } -- TODO Autocommands -- https://neovim.io/doc/user/autocmd.html @@ -102,4 +102,3 @@ O.lang.php.filetypes = { "php", "phtml" } -- TODO Additional Plugins -- TODO User Config for plugins - |