Re: SQL quote sign syntax fail

2023-03-13 Thread Christian Brabandt
On So, 12 Mär 2023, Hans Schou wrote: > Hi > > I have a PostgreSQL dump file with some data in a COPY..stdin block. > When an quote sign occur in "O'Malley" the color changes until next quote sign > > Example in file names.sql: > > COPY public.names (name) FROM stdin; > Thomas O'Malley > \. >

Re: E121: Undefined variable

2023-03-13 Thread Jose Caballero
Indeed it works !! Thanks a lot. Cheers, Jose El lun, 13 mar 2023 a las 14:06, Christian Brabandt () escribió: > > > On Mo, 13 Mär 2023, Jose Caballero wrote: > > > Hello, > > > > I have this function [*]. > > It is meant to create a line when opening a new file with extension > > .pan, where that

Re: E121: Undefined variable

2023-03-13 Thread Christian Brabandt
On Mo, 13 Mär 2023, Jose Caballero wrote: > Hello, > > I have this function [*]. > It is meant to create a line when opening a new file with extension > .pan, where that line is based on the path of the file. > That code works on my personal computer, with VIM 9.0.1023 > However, it fails on th

SQL quote sign syntax fail

2023-03-13 Thread Hans Schou
Hi I have a PostgreSQL dump file with some data in a COPY..stdin block. When an quote sign occur in "O'Malley" the color changes until next quote sign Example in file names.sql: COPY public.names (name) FROM stdin; Thomas O'Malley \. The quote is a legal character in that block and the color sh

E121: Undefined variable

2023-03-13 Thread Jose Caballero
Hello, I have this function [*]. It is meant to create a line when opening a new file with extension .pan, where that line is based on the path of the file. That code works on my personal computer, with VIM 9.0.1023 However, it fails on the computer at work where it has to run, with VIM 7.4.629 I