mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-30 20:40:42 +00:00
Switch vim config to lua (Full rewrite)
This commit is contained in:
parent
f0385c4961
commit
bb7a2af9f9
25 changed files with 497 additions and 303 deletions
7
home/.config/nvim/lua/vim.lua
Normal file
7
home/.config/nvim/lua/vim.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
-- This file is here to allow running `local vim = require("vim")`, which
|
||||
-- avoids the hassle of having to ignore vim as undefined-global for lua
|
||||
-- language server diagnostics. Another advantage is that it actually allows
|
||||
-- us to detect the attributes of vim so we will get suggestions.
|
||||
|
||||
---@diagnostic disable-next-line:undefined-global
|
||||
return vim
|
Loading…
Add table
Add a link
Reference in a new issue