tangled
alpha
login
or
join now
mpadge.tngl.sh
/
dotfiles
1
fork
atom
dot dot dotfiles
1
fork
atom
overview
issues
pulls
pipelines
disable nvim inlay hints from lsp for r files
mpadge.tngl.sh
2 months ago
de7e85bf
1c33c7fa
+9
-1
1 changed file
expand all
collapse all
unified
split
.config
nvim
lua
plugins
lsp.lua
+9
-1
.config/nvim/lua/plugins/lsp.lua
···
6
6
inlay_hints = {
7
7
enabled = false
8
8
},
9
9
-
}
9
9
+
},
10
10
+
config = function()
11
11
+
vim.api.nvim_create_autocmd("FileType", {
12
12
+
pattern = { "r", "rmd", "quarto" },
13
13
+
callback = function(args)
14
14
+
vim.lsp.inlay_hint.enable(false, { bufnr = args.buf })
15
15
+
end,
16
16
+
})
17
17
+
end
10
18
}
11
19
}