summaryrefslogtreecommitdiff
path: root/lua/lv-globals.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-04-15 00:17:48 -0400
committerchristianchiarulli <[email protected]>2021-04-15 00:17:48 -0400
commit2cd8c6a21cb6c9af91e631f565e31f5803cdaa7c (patch)
tree7207301e310a278c0f91b4595ddc93fd98238093 /lua/lv-globals.lua
parent1853b4f2aa13b83ff542171060f92d3d4d961a68 (diff)
LunarVim
Diffstat (limited to 'lua/lv-globals.lua')
-rw-r--r--lua/lv-globals.lua66
1 files changed, 66 insertions, 0 deletions
diff --git a/lua/lv-globals.lua b/lua/lv-globals.lua
new file mode 100644
index 00000000..a8fc6b21
--- /dev/null
+++ b/lua/lv-globals.lua
@@ -0,0 +1,66 @@
+O = {
+ auto_close_tree = 0,
+ auto_complete = true,
+ colorscheme = 'lunar',
+ hidden_files = true,
+ wrap_lines = false,
+ number = true,
+ relative_number = true,
+ shell = 'bash',
+
+ -- @usage pass a table with your desired languages
+ treesitter = {
+ ensure_installed = "all",
+ ignore_install = {"haskell"},
+ highlight = {enabled = true},
+ playground = {enabled = true},
+ rainbow = {enabled = false}
+ },
+
+ database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
+ python = {
+ linter = '',
+ -- @usage can be 'yapf', 'black'
+ formatter = '',
+ autoformat = false,
+ isort = false,
+ diagnostics = {virtual_text = true, signs = true, underline = true}
+ },
+ dart = {sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'},
+ lua = {
+ -- @usage can be 'lua-format'
+ formatter = '',
+ autoformat = false,
+ diagnostics = {virtual_text = true, signs = true, underline = true}
+ },
+ sh = {
+ -- @usage can be 'shellcheck'
+ linter = '',
+ -- @usage can be 'shfmt'
+ formatter = '',
+ autoformat = false,
+ diagnostics = {virtual_text = true, signs = true, underline = true}
+ },
+ tsserver = {
+ -- @usage can be 'eslint'
+ linter = '',
+ -- @usage can be 'prettier'
+ formatter = '',
+ autoformat = false,
+ diagnostics = {virtual_text = true, signs = true, underline = true}
+ },
+ json = {
+ -- @usage can be 'prettier'
+ formatter = '',
+ autoformat = false,
+ diagnostics = {virtual_text = true, signs = true, underline = true}
+ },
+ tailwindls = {filetypes = {'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}},
+ clang = {diagnostics = {virtual_text = true, signs = true, underline = true}}
+ -- css = {formatter = '', autoformat = false, virtual_text = true},
+ -- json = {formatter = '', autoformat = false, virtual_text = true}
+}
+
+DATA_PATH = vim.fn.stdpath('data')
+CACHE_PATH = vim.fn.stdpath('cache')
+