improving startup time by using lazy loading or filetype loading
This commit is contained in:
parent
bdb655c5a1
commit
7f1b34fd6f
62 changed files with 1285 additions and 561 deletions
15
lua/custom/snippets/pyhton.lua
Normal file
15
lua/custom/snippets/pyhton.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local ls = require('luasnip')
|
||||
|
||||
local s = ls.snippet
|
||||
local i = ls.insert_node
|
||||
local t = ls.text_node
|
||||
|
||||
ls.add_snippets('python', {
|
||||
s('log', {
|
||||
t({ 'LOG.' }),
|
||||
i(1, 'level'),
|
||||
t({ '(' }),
|
||||
i(2, 'message'),
|
||||
t({ ')' }),
|
||||
}),
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue