mass update
This commit is contained in:
parent
d5faa08253
commit
c613a6d0e3
21 changed files with 361 additions and 128 deletions
|
|
@ -0,0 +1,12 @@
|
|||
-- put this in your init.lua
|
||||
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
pattern = { "*.yuck" },
|
||||
callback = function(event)
|
||||
print(string.format("starting yuck;s for %s", vim.inspect(event)))
|
||||
vim.lsp.start({
|
||||
name = "YuckLs",
|
||||
cmd = { "yuckls" }, -- if installed from aur
|
||||
root_dir = vim.fn.getcwd(),
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
|
@ -2,6 +2,7 @@ vim.opt.tabstop = 4
|
|||
vim.opt.softtabstop = 0
|
||||
vim.opt.shiftwidth = 0
|
||||
vim.opt.shell = "/bin/bash"
|
||||
vim.opt.linebreak = true
|
||||
vim.cmd("set wrap smoothscroll")
|
||||
|
||||
vim.opt.rnu = true
|
||||
|
|
|
|||
2
lua/config/lsp.lua
Normal file
2
lua/config/lsp.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- lsp that are not on mason/beta branch lsp
|
||||
vim.lsp.enable("zls")
|
||||
Loading…
Add table
Add a link
Reference in a new issue