LunarVim/lua/default-config.lua

178 lines
5.2 KiB
Lua
Raw Normal View History

2021-06-28 06:36:29 +02:00
CONFIG_PATH = vim.fn.stdpath('config')
DATA_PATH = vim.fn.stdpath('data')
CACHE_PATH = vim.fn.stdpath('cache')
O = {
auto_close_tree = 0,
auto_complete = true,
colorscheme = 'lunar',
hidden_files = true,
wrap_lines = false,
number = true,
relative_number = true,
cursorline = true,
shell = 'bash',
timeoutlen = 100,
nvim_tree_disable_netrw = 0,
extras = false,
-- @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},
2021-06-28 08:37:33 +02:00
plugin = {
hop = {active = false},
dial = {active = false},
dashboard = {active = false},
2021-06-28 18:45:45 +02:00
matchup = {active = false},
colorizer = {active = false},
2021-06-28 18:56:05 +02:00
numb = {active = false},
2021-06-28 19:11:37 +02:00
ts_playground = {active = false},
2021-06-28 08:37:33 +02:00
},
2021-06-28 07:46:25 +02:00
2021-06-28 06:36:29 +02:00
lang = {
python = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
linter = '',
-- @usage can be 'yapf', 'black'
formatter = '',
autoformat = false,
isort = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
},
analysis = {
type_checking = "basic",
auto_search_paths = true,
use_library_code_types = true
}
},
dart = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
},
lua = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'lua-format'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
sh = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'shellcheck'
linter = '',
-- @usage can be 'shfmt'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
tsserver = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'eslint'
linter = '',
-- @usage can be 'prettier'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
json = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'prettier'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
2021-06-28 07:06:37 +02:00
tailwindcss = {
active = false,
2021-06-28 06:36:29 +02:00
filetypes = {
'html', 'css', 'scss', 'javascript', 'javascriptreact',
'typescript', 'typescriptreact'
}
},
clang = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
ruby = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
diagnostics = {
virtualtext = {spacing = 0, prefix = ""},
signs = true,
underline = true
},
filetypes = {'rb', 'erb', 'rakefile'}
},
2021-06-28 07:06:37 +02:00
go = {active = false},
elixer = {active = false},
vim = {active = false},
yaml = {active = false},
terraform = {active = false},
rust = {active = false},
svelte = {active = false},
php = {active = false},
latex = {active = false},
kotlin = {active = false},
html = {active = false},
elm = {active = false},
emmet = {active = false},
graphql = {active = false},
efm = {active = true},
docker = {active = false},
cmake = {active = false},
java = {active = false},
css = {
active = false,
2021-06-28 07:46:25 +02:00
formatter = '',
autoformat = false,
virtual_text = true
}
2021-06-28 06:36:29 +02:00
},
dashboard = {
custom_header = {
' _..._ ',
' .\' (_`. _ __ ___ ',
' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
},
footer = {'chrisatmachine.com'}
}
}