Working on lsp

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-06-12 00:13:14 -05:00
parent cec6b5ba89
commit 42a3ec0172
11 changed files with 127 additions and 25 deletions

View file

@ -1,7 +1,9 @@
function isEmpty()
return vim.api.nvim_buf_get_name(0) == "" or vim.fn.filereadable(vim.api.nvim_buf_get_name(0)) == 0 or vim.fn.line('$') == 1 and vim.fn.col('$') == 1
end
-- #000000
--
--
vim.api.nvim_create_autocmd({ "VimEnter" }, {
callback = function()
if isEmpty() then
@ -24,3 +26,9 @@ vim.api.nvim_create_autocmd('BufRead', {
pattern = "Dockerfile.*",
command = "set filetype=dockerfile"
})
vim.api.nvim_create_autocmd("BufRead", {
callback = function()
vim.cmd.CccHighlighterEnable()
end,
})