]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Py310 has convenient breakpoint()
authorSergey Matveev <stargrave@stargrave.org>
Tue, 23 Nov 2021 11:26:41 +0000 (14:26 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 27 Jan 2022 11:35:14 +0000 (14:35 +0300)
vim/.vim/ftplugin/python/autos.vim

index 25045539e40be22ccdb2d0aec512e605dfd4004c..441118a7d407e8e99b90fcf4cdb4cd1a7e591ef7 100644 (file)
@@ -1,7 +1,7 @@
 iabbrev <buffer> #u # coding: utf-8
 iabbrev <buffer> tt # type: 
 iabbrev <buffer> tti # type: ignore
 iabbrev <buffer> #u # coding: utf-8
 iabbrev <buffer> tt # type: 
 iabbrev <buffer> tti # type: ignore
-iabbrev <buffer> trace import pdb ; pdb.set_trace()<CR>pass
+iabbrev <buffer> trace breakpoint()
 iabbrev <buffer> embed import code ; code.interact(local=locals())
 iabbrev <buffer> kargs *args, **kwargs
 iabbrev <buffer> pyldis # pylint: disable=
 iabbrev <buffer> embed import code ; code.interact(local=locals())
 iabbrev <buffer> kargs *args, **kwargs
 iabbrev <buffer> pyldis # pylint: disable=