-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
65 lines (61 loc) · 1.62 KB
/
init.lua
File metadata and controls
65 lines (61 loc) · 1.62 KB
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
LAZY_PLUGIN_SPEC = {}
local function spec(item)
table.insert(LAZY_PLUGIN_SPEC, { import = item })
end
require("core.options")
require("core.keymaps")
require("core.autocmds")
if vim.g.vscode then
--
else
spec("plugin.colorscheme")
spec("plugin.devicons")
-- spec("plugin.bufferline")
spec("plugin.treesitter")
-- spec("plugin.schemastore")
spec("plugin.mason")
spec("plugin.lsp")
spec("plugin.typescript-tools")
spec("plugin.breadcrumbs")
-- spec("plugin.null-ls")
spec("plugin.illuminate")
spec("plugin.todo-comments")
spec("plugin.telescope")
spec("plugin.nvimtree")
spec("plugin.trouble")
spec("plugin.aerial")
spec("plugin.lualine")
spec("plugin.cmp")
spec("plugin.clangd_extensions")
-- spec("plugin.blink")
spec("plugin.comment")
spec("plugin.gitsigns")
spec("plugin.neogit")
spec("plugin.diffview")
spec("plugin.indentline")
spec("plugin.alpha")
spec("plugin.zen")
spec("plugin.netrw")
spec("plugin.project")
spec("plugin.toggleterm")
spec("plugin.bufdelete")
spec("plugin.conform")
-- spec "plugin.dapui"
spec("plugin.fidget")
spec("plugin.vimtex")
-- spec("plugin.markview")
spec("plugin.copilot")
spec("plugin.harpoon")
-- spec("plugin.bookmarks")
spec("plugin.whichkey")
-- spec("plugin.leetcode")
require("plugin.lazy")
end
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
-- Maximum width of the hover window
max_width = 100,
-- Optional: Ensure wrapping by setting wrap to true
wrap = true,
-- Optional: Additional styling for the floating window
border = "single", -- Can be "single", "double", "rounded", etc.
})