Update home/.config/lvim/lua/user/autocommands.lua
Update home/.config/lvim/lua/user/plugins.lua
This commit is contained in:
parent
4d6404f2dc
commit
4813dd044f
home/dot_config/lvim/lua/user
@ -13,10 +13,10 @@ Last Modified By : Jeff Lance <email@jefflance.me>
|
|||||||
-- Some examples of autocommands definition through lvim api.
|
-- Some examples of autocommands definition through lvim api.
|
||||||
--
|
--
|
||||||
|
|
||||||
-- local M = {}
|
local M = {}
|
||||||
|
|
||||||
-- M.setup = function()
|
M.setup = function()
|
||||||
-- lvim.autocommands = {
|
lvim.autocommands = {
|
||||||
-- -- for any files
|
-- -- for any files
|
||||||
-- {
|
-- {
|
||||||
-- { "VimEnter" },
|
-- { "VimEnter" },
|
||||||
@ -41,7 +41,21 @@ Last Modified By : Jeff Lance <email@jefflance.me>
|
|||||||
-- command = "set filetype=asy",
|
-- command = "set filetype=asy",
|
||||||
-- }
|
-- }
|
||||||
-- },
|
-- },
|
||||||
-- }
|
-- Hyprlang LSP
|
||||||
-- end
|
{
|
||||||
|
{'BufEnter', 'BufWinEnter'},
|
||||||
-- return M
|
{
|
||||||
|
pattern = {"*.hl", "hypr*.conf"},
|
||||||
|
callback = function(event)
|
||||||
|
print(string.format("starting hyprls for %s", vim.inspect(event)))
|
||||||
|
vim.lsp.start {
|
||||||
|
name = "hyprlang",
|
||||||
|
cmd = { "hyprls" },
|
||||||
|
root_dir = vim.fn.getcwd(),
|
||||||
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
return M
|
||||||
|
@ -54,10 +54,8 @@ M.setup = function()
|
|||||||
"nvim-telescope/telescope.nvim"
|
"nvim-telescope/telescope.nvim"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
{
|
{
|
||||||
'xvzc/chezmoi.nvim',
|
'xvzc/chezmoi.nvim',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
||||||
config = function()
|
config = function()
|
||||||
require("chezmoi").setup {
|
require("chezmoi").setup {
|
||||||
-- your configurations
|
-- your configurations
|
||||||
@ -77,8 +75,8 @@ M.setup = function()
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end,
|
||||||
},
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||||
},
|
},
|
||||||
-- cmp addons
|
-- cmp addons
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user