diff options
Diffstat (limited to 'lua/snippets')
-rw-r--r-- | lua/snippets/c.lua | 2 | ||||
-rw-r--r-- | lua/snippets/java.lua | 3 | ||||
-rw-r--r-- | lua/snippets/norg.lua | 3 | ||||
-rw-r--r-- | lua/snippets/openscad.lua | 2 | ||||
-rw-r--r-- | lua/snippets/php.lua | 2 | ||||
-rw-r--r-- | lua/snippets/tex.lua | 3 |
6 files changed, 6 insertions, 9 deletions
diff --git a/lua/snippets/c.lua b/lua/snippets/c.lua index ed63c1b..2699389 100644 --- a/lua/snippets/c.lua +++ b/lua/snippets/c.lua @@ -1,4 +1,4 @@ -require('core.snippets.shorthands') +dofile(core.snippets) return { -- function snippet diff --git a/lua/snippets/java.lua b/lua/snippets/java.lua index 1cb8162..790336e 100644 --- a/lua/snippets/java.lua +++ b/lua/snippets/java.lua @@ -1,5 +1,4 @@ -require("core.snippets.shorthands") -require("core.snippets.functions") +dofile(core.snippets) --- shortcut to choose between java access modifiers ---@param idx number index of the node diff --git a/lua/snippets/norg.lua b/lua/snippets/norg.lua index 67d3964..afe4c49 100644 --- a/lua/snippets/norg.lua +++ b/lua/snippets/norg.lua @@ -1,5 +1,4 @@ -require("core.snippets.shorthands") -require("core.snippets.functions") +dofile(core.snippets) return { -- header level 1, usually this has the same name as the file diff --git a/lua/snippets/openscad.lua b/lua/snippets/openscad.lua index caf19b9..130b66b 100644 --- a/lua/snippets/openscad.lua +++ b/lua/snippets/openscad.lua @@ -1,4 +1,4 @@ -require("core.snippets.shorthands") +dofile(core.snippets) return { -- translate snippet diff --git a/lua/snippets/php.lua b/lua/snippets/php.lua index 88c542f..33fd4c4 100644 --- a/lua/snippets/php.lua +++ b/lua/snippets/php.lua @@ -1,4 +1,4 @@ -require("core.snippets.shorthands") +dofile(core.snippets) return { s("php", { diff --git a/lua/snippets/tex.lua b/lua/snippets/tex.lua index f7fdfed..30999ea 100644 --- a/lua/snippets/tex.lua +++ b/lua/snippets/tex.lua @@ -1,5 +1,4 @@ -require("core.snippets.shorthands") -require("core.snippets.functions") +dofile(core.snippets) return { -- document snippet |