This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
98 lines (86 loc) · 2.4 KB
/
config.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
local user = os.getenv "USER"
lvim.log.level = "warn"
lvim.format_on_save = true
lvim.colorscheme = "vscode"
lvim.leader = "space"
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
lvim.transparent_window = true
lvim.builtin.notify.active = true
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
lvim.builtin.global_statusline = true
lvim.builtin.task_runner = "async_tasks"
lvim.builtin.tree_provider = "nvimtree" -- can be "neo-tree" or "nvimtree" or ""
lvim.builtin.tag_provider = "symbols-outline" -- change this to use different tag providers ( symbols-outline or vista )
lvim.builtin.lualine_theme = "catppuccin"
lvim.builtin.tabnine = {
active = false
}
lvim.builtin.custom_statusline = {
active = true
}
lvim.builtin.sidebar = {
active = false
}
lvim.builtin.lastplace = {
active = false
}
lvim.builtin.persistence = {
active = true
}
lvim.builtin.harpoon = {
active = true
}
lvim.builtin.editorconfig = {
active = true
}
lvim.builtin.cursorline = {
active = true
}
lvim.builtin.refactoring = {
active = true
}
lvim.builtin.parentheses_rainbow = {
active = true
}
lvim.builtin.fidget = {
active = true
}
lvim.builtin.minimap = {
active = true
}
lvim.builtin.discord_presence = {
active = false
}
lvim.builtin.smooth_scroll = "cinnamon"
lvim.builtin.treesitter.ensure_installed = {"bash", "c", "javascript", "json", "lua", "python", "typescript", "tsx",
"css", "rust", "java", "yaml"}
lvim.builtin.treesitter.ignore_install = {"haskell"}
lvim.builtin.treesitter.highlight.enabled = true
lvim.builtin.lsp_lines = true
lvim.format_on_save = {
timeout = 30000
}
if lvim.builtin.lsp_lines then
lvim.lsp.diagnostics.virtual_text = false
end
--- Minhas configurações
if user and user == "eubyt" then
lvim.builtin.discord_presence.active = true
lvim.transparent_window = true
lvim.builtin.fidget.active = false
lvim.builtin.minimap.active = false
-- vim.schedule(function()
-- vim.cmd("colorscheme catppuccin")
-- end)
end
require("user.builtin").config()
require("user.null_ls").config()
require("user.plugins").config()
require("user.keybindings").config()
require("user.autocommands").config()
if lvim.builtin.custom_statusline.active then
require("user.lualine").config()
require("user.bufferline").config()
end