add devops and development profile
This commit is contained in:
1 parent
a0d2bcdfb0
commit
ab80f0d763
9 files changed
+128
-140
No files matched your search
+8
-3
@@ -13,7 +13,7 @@ do
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||
vim.g.have_nerd_font = false
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
-- [[ Setting options ]]
|
||||
-- See `:help vim.o`
|
||||
@@ -34,9 +34,14 @@ do
|
||||
|
||||
-- Sync clipboard between OS and Neovim.
|
||||
-- Schedule the setting after `UiEnter` because it can increase startup-time.
|
||||
-- Remove this option if you want your OS clipboard to remain independent.
|
||||
-- Only enable it when a clipboard tool exists (WSL needs win32yank.exe;
|
||||
-- bare SSH sessions and containers usually have none).
|
||||
-- See `:help 'clipboard'`
|
||||
vim.schedule(function() vim.o.clipboard = 'unnamedplus' end)
|
||||
vim.schedule(function()
|
||||
local tools = { 'win32yank.exe', 'wl-copy', 'xclip', 'xsel' }
|
||||
local has_tool = vim.iter(tools):any(function(tool) return vim.fn.executable(tool) == 1 end)
|
||||
vim.o.clipboard = has_tool and 'unnamedplus' or ''
|
||||
end)
|
||||
|
||||
-- Enable break indent
|
||||
vim.o.breakindent = true
|
||||
|
||||
Reference in new issue
Block a user