Monday, November 9, 2020

Re: python syntax highlighting

On Mo, 09 Nov 2020, Mathieu Roux wrote:

> nothing like that...
>
> i customized my .vimrc:
>
> syntax on
> syntax enable
> let filetype_py = "python"
> au FileType python nmap œ :w<CR>:!clear ; python3.9 "%"<CR>
> au FileType python imap œ <esc>:w<CR>:!clear ; python3.9 "%"<CR>
>
> When i execute my program with "œ", after that, there is always one
> error in red in the bottom of the window.
> "E:[1(#1)]"

That looks like the error comes from syntastic and is also displayed in
your statusline by vim-airline.

Are you sure you haven't installed any plugins? My guess you have at
least syntastic and vim-airline installed. Can you show the output of
`:scriptnames`?

Best,
Christian
--
Eine Betriebsanalyse ist eine kostspielige Methode, durch
betriebsfremde Fachleute das ermitteln zu lassen, was man im Betrieb
seit 20 Jahren weiß.
-- Michael Schiff

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201109175851.GA23098%40256bit.org.

No comments: