diff --git a/nvim/init.vim b/nvim/init.vim index 14b484f..49146a0 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -82,7 +82,9 @@ augroup python au FileType python nmap a :call JumpToAlternate() " Shortcut to add pylint disables - au FileType python iab lint # pylint: disable + 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() augroup END " }}}