mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat?(nvim): Migrate to 0.11
This commit is contained in:
parent
48331347fd
commit
124703b2e0
6 changed files with 66 additions and 11 deletions
14
tools/nvim/lua/config/migration.lua
Normal file
14
tools/nvim/lua/config/migration.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
local nvim_version = vim.version()
|
||||
|
||||
if nvim_version.minor ~= 11 then
|
||||
return
|
||||
end
|
||||
|
||||
vim.diagnostic.config({
|
||||
virtual_lines = true,
|
||||
})
|
||||
|
||||
vim.lsp.enable({
|
||||
"clangd",
|
||||
"luals",
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue