mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-06-08 15:10:58 +00:00
add self funcs
This commit is contained in:
@@ -159,6 +159,7 @@ vim.g.copilot_no_maps = 1
|
||||
vim.g.copilot_assume_mapped = 1
|
||||
|
||||
require('plugins')
|
||||
require('funcs')
|
||||
|
||||
-- Neoformat
|
||||
if not fn.executable('luafmt') then
|
||||
|
||||
5
nvim/lua/funcs.lua
Normal file
5
nvim/lua/funcs.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
local fn = vim.fn
|
||||
|
||||
function GetPath()
|
||||
fn.setreg('+', fn.getreg('%'))
|
||||
end
|
||||
Reference in New Issue
Block a user