mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
update lvim
This commit is contained in:
parent
a537caddf0
commit
da1068fdc2
15 changed files with 169 additions and 127 deletions
8
config/lvim/lua/plug/dap.lua
Normal file
8
config/lvim/lua/plug/dap.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
-- Virtual text
|
||||
vim.g.dap_virtual_text = true
|
||||
end
|
||||
|
||||
return M
|
||||
12
config/lvim/lua/plug/lua-dev.lua
Normal file
12
config/lvim/lua/plug/lua-dev.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local ok, lua_dev = pcall(require, "lua-dev")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
lua_dev.setup {}
|
||||
end
|
||||
|
||||
return M
|
||||
16
config/lvim/lua/plug/tabnine.lua
Normal file
16
config/lvim/lua/plug/tabnine.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local ok, tabnine = pcall(require, "cmp_tabnine.config")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
tabnine:setup {
|
||||
max_lines = 1000,
|
||||
max_num_results = 10,
|
||||
sort = true,
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
12
config/lvim/lua/plug/todo-comment.lua
Normal file
12
config/lvim/lua/plug/todo-comment.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local ok, todo_comments = pcall(require, "todo-comments")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
todo_comments.setup {}
|
||||
end
|
||||
|
||||
return M
|
||||
14
config/lvim/lua/plug/ts-unit.lua
Normal file
14
config/lvim/lua/plug/ts-unit.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local ok, ts_unit = pcall(require, "ts-unit")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
ts_unit.setup {
|
||||
keymaps = true,
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue