Monday, November 9, 2020

Re: python syntax highlighting

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)]"
and it seems that the error is also indicated by "S>" in red in the
margin...

With a C langage program (with customization), i don't have the same
problem.






On lun., 2020-11-09 at 17:06 +0100, Christian Brabandt wrote:
> On Mo, 09 Nov 2020, Mathieu Roux wrote:
>
> > Hello everybody,
> >
> > I have re-installed my computer recently with kubuntu.
> > Now, when i use vim (python program with syntax highlighting), it
> > appears "S>" in the margin of my text (on the left).
> >
> > I just don't know why some lines are marked "S>" and some other
> > lines
> > are not marked.
> > And then maybe i should disable this mark, but i don't know how.
>
> Have you installed a linter or some kind of a syntax checking
> plugin?
> Something like ale or neomake or syntastic? If so, please check the
> documentation of that plugin.
>
> Best,
> Christian
> --
> Christi Niederlage war nicht die Kreuzigung, sondern der Vatikan.
> -- Jean Cocteau
>
> --

--
--
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/db6b61c36c5315bdff37d5145fb7ef546c971739.camel%40gmail.com.

No comments: