housekeeping merge
This commit is contained in:
parent
398616cfcd
commit
2cbdb13009
6 changed files with 319 additions and 144 deletions
15
lua/core/globals.lua
Normal file
15
lua/core/globals.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
if vim.fn.exists 'g:os' == 0 then
|
||||
local is_windows = vim.fn.has 'win64' == 1 or vim.fn.has 'win32' == 1 or vim.fn.has 'win16' == 1
|
||||
if is_windows then
|
||||
vim.g.os = 'Windows'
|
||||
else
|
||||
local uname_output = vim.fn.system 'uname'
|
||||
vim.g.os = string.gsub(uname_output, '\n', '')
|
||||
end
|
||||
end
|
||||
|
||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||
vim.g.have_nerd_font = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue