Adding a WSL specific configuration file which enables only when the environment variable WSL_DISTRO_NAME is set
This commit is contained in:
parent
44b9ea885f
commit
80fef78ae9
@ -47,4 +47,5 @@ require('keymappings')
|
||||
require('settings')
|
||||
require('autocmds')
|
||||
require('lsp')
|
||||
require('wsl')
|
||||
require('plugins')
|
||||
|
||||
5
nvim/lua/wsl.lua
Normal file
5
nvim/lua/wsl.lua
Normal file
@ -0,0 +1,5 @@
|
||||
local wsl = os.getenv('WSL_DISTRO_NAME')
|
||||
|
||||
if wsl then
|
||||
-- Do WSL specific things
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user