You've already forked dotfiles
Adding a WSL specific configuration file which enables only when the environment variable WSL_DISTRO_NAME is set
This commit is contained in:
@@ -47,4 +47,5 @@ require('keymappings')
|
|||||||
require('settings')
|
require('settings')
|
||||||
require('autocmds')
|
require('autocmds')
|
||||||
require('lsp')
|
require('lsp')
|
||||||
|
require('wsl')
|
||||||
require('plugins')
|
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
|
||||||
Reference in New Issue
Block a user