-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.lua
57 lines (49 loc) · 1.57 KB
/
env.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
return {
-- NVIM_STARTUP=<normal|base|safe|plugreg>
-- Starts nvim in different modes:
-- normal: normal startup (default)
-- base: only base settings, no plugin/lsp setup
-- safe: nvim without any user config
NVIM_STARTUP = vim.env.NVIM_STARTUP or "normal",
-- NVIM_TREESITTER=<on|off>
-- Configures using treesitter or not.
-- on
-- off (default)
NVIM_TREESITTER = vim.env.NVIM_TREESITTER or "off",
-- NVIM_SYNTAX=<on|off>
-- Configures having syntax highlighting or not.
-- on
-- off (default)
NVIM_SYNTAX = vim.env.NVIM_SYNTAX or "off",
-- NVIM_DARK=<on|off>
-- Configures having a dark colortheme.
-- on (default)
-- off
NVIM_DARK = vim.env.NVIM_DARK or "on",
-- NVIM_LSP=<on|off>
-- Configures using LSP or not.
-- on (default)
-- off
NVIM_LSP = vim.env.NVIM_LSP or "on",
-- NVIM_TS_LSP=<volar|vtsls>
-- Configures which LSP to use for TypeScript.
-- vtsls (default)
-- volar
-- astro
NVIM_TS_LSP = vim.env.NVIM_TS_LSP or "vtsls",
-- NVIM_AUTOFORMAT=<on|off>
-- Configures using autoformatting on save not.
-- on (default)
-- off
NVIM_AUTOFORMAT = vim.env.NVIM_AUTOFORMAT or "on",
-- NVIM_CMP=<off|on|silent>
-- Configures cmp "mode".
-- menu: regular autocomplete popup menu
-- wildmenu: show completions at bottom of window
-- triggermenu: manual trigger of popup menu
-- off (default): no cmp at all
NVIM_CMP = vim.env.NVIM_CMP or "off",
-- NVIM_GOPLS_LOCAL="git.company.com"
-- Configures gopls local packages for importing grouping to work.
NVIM_GOPLS_LOCAL = vim.env.NVIM_GOPLS_LOCAL or "",
}