diff --git a/nvim/init.vim b/nvim/init.vim index 49146a0..c4d2c64 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -82,9 +82,8 @@ augroup python au FileType python nmap a :call JumpToAlternate() " Shortcut to add pylint disables - au FileType python setlocal iskeyword+=: " this is kinda of a "hack" to make abbr accept ":" in them - au FileType python iab :lint # pylint: disable - au FileType python iab :main def main():""""""if __name__ == '__main__':main() + au FileType python iab lint # pylint: disable + au FileType python iab defmain def main():""""""if __name__ == '__main__':main() augroup END " }}}