mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update
This commit is contained in:
parent
d7d3a38936
commit
33237c167e
3 changed files with 20 additions and 21 deletions
|
@ -1,20 +1,20 @@
|
|||
return {
|
||||
"ErichDonGubler/lsp_lines.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("lsp_lines").setup()
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "*" }, --ini untuk file yang tidak ingin dibaca
|
||||
callback = function()
|
||||
local exclude_ft = {
|
||||
"lazy",
|
||||
}
|
||||
if vim.tbl_contains(exclude_ft, vim.o.filetype) then
|
||||
vim.diagnostic.config({ virtual_lines = false })
|
||||
else
|
||||
vim.diagnostic.config({ virtual_lines = true })
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
-- "ErichDonGubler/lsp_lines.nvim",
|
||||
-- event = "BufRead",
|
||||
-- config = function()
|
||||
-- require("lsp_lines").setup()
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = { "*" }, --ini untuk file yang tidak ingin dibaca
|
||||
-- callback = function()
|
||||
-- local exclude_ft = {
|
||||
-- "lazy",
|
||||
-- }
|
||||
-- if vim.tbl_contains(exclude_ft, vim.o.filetype) then
|
||||
-- vim.diagnostic.config({ virtual_lines = false })
|
||||
-- else
|
||||
-- vim.diagnostic.config({ virtual_lines = true })
|
||||
-- end
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue