-
Notifications
You must be signed in to change notification settings - Fork 0
/
lvim.config.lua
28 lines (23 loc) · 1.08 KB
/
lvim.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
vim.opt.relativenumber = true -- Relative line numbers
vim.opt.shiftwidth = 4 -- Number of spaces per identation
vim.opt.tabstop = 4 -- Number of visual spaces per TAB
vim.opt.wrap = true -- Wrap lines
lvim.builtin.gitsigns.opts.current_line_blame = true
lvim.builtin.gitsigns.opts.current_line_blame_formatter = " <author>, <author_time:%Y-%m-%d> - <summary>"
lvim.builtin.gitsigns.opts.current_line_blame_opts.delay = 100
lvim.builtin.nvimtree.setup.hijack_directories.enable = true
lvim.format_on_save.enabled = true
lvim.keys.normal_mode["y"] = '"+yy'
lvim.plugins = {
{
"zbirenbaum/copilot-cmp",
event = "InsertEnter",
dependencies = { "zbirenbaum/copilot.lua" },
config = function()
vim.defer_fn(function()
require("copilot").setup() -- https://github.com/zbirenbaum/copilot.lua/blob/master/README.md#setup-and-configuration
require("copilot_cmp").setup() -- https://github.com/zbirenbaum/copilot-cmp/blob/master/README.md#configuration
end, 100)
end,
}
}