80 columns in init.lua
This commit is contained in:
parent
be5ae48bf8
commit
887d08fa5a
1 changed files with 2 additions and 1 deletions
3
init.lua
3
init.lua
|
|
@ -10,7 +10,8 @@ require('core.handler')
|
||||||
|
|
||||||
-- call all snippets in the lua/snippets directory ----------------------------
|
-- call all snippets in the lua/snippets directory ----------------------------
|
||||||
require('snippet.shorthands')
|
require('snippet.shorthands')
|
||||||
for _, file in ipairs(vim.fn.readdir(vim.fn.stdpath('config')..'/lua/snippet', [[v:val =~ '\.lua$']])) do
|
for _, file in ipairs(vim.fn.readdir(vim.fn.stdpath('config')..'/lua/snippet',
|
||||||
|
[[v:val =~ '\.lua$']])) do
|
||||||
require('snippet.'..file:gsub('%.lua$', ''))
|
require('snippet.'..file:gsub('%.lua$', ''))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue