Re: [patch] SAS syntax and indent scripts

2018-06-28 Fir de Conversatie Bram Moolenaar
Keny Hu wrote: > That makes sense. Thanks for the tip. Here is the updated indent file. Thanks, I'll include this one. -- hundred-and-one symptoms of being an internet addict: 126. You brag to all of your friends about your date Saturday night...but you don't tell them it was only in a

Re: [patch] SAS syntax and indent scripts

2018-06-26 Fir de Conversatie Keny Hu
That makes sense. Thanks for the tip. Here is the updated indent file. On Tue, Jun 26, 2018 at 1:05 PM, Christian Brabandt wrote: > > On Di, 26 Jun 2018, Keny Hu wrote: > > > Thank you for the patch. Christian. Here is the updated indent file for > SAS. > > Actually, I am not sure if the test

Re: [patch] SAS syntax and indent scripts

2018-06-26 Fir de Conversatie Christian Brabandt
On Di, 26 Jun 2018, Keny Hu wrote: > Thank you for the patch. Christian. Here is the updated indent file for SAS. Actually, I am not sure if the test for the softtabstop setting is actually needed of if not rather instead you should always use shiftwidth() Since that is what it is for,

Re: [patch] SAS syntax and indent scripts

2018-06-26 Fir de Conversatie Keny Hu
Thank you for the patch. Christian. Here is the updated indent file for SAS. On Tue, Jun 26, 2018 at 1:06 AM, Christian Brabandt wrote: > > On Mo, 25 Jun 2018, Blay263 wrote: > > So just to give more context about a year ago the SAS vim files were > > updated. For the most part the updates were

Re: [patch] SAS syntax and indent scripts

2018-06-26 Fir de Conversatie Christian Brabandt
On Mo, 25 Jun 2018, Blay263 wrote: > So just to give more context about a year ago the SAS vim files were > updated. For the most part the updates were great but indenting hasn't > worked since then.To reproduce: gvim --clean test.sas(attached). Then > =G.indentation is removed . Expect

Re: [patch] SAS syntax and indent scripts

2018-06-25 Fir de Conversatie Keny Hu
I uploaded the syntax file but not the indent file. Couldn't remember who submitted the indent file. Could you try if this indent file work for you: https://github.com/akanosora/vimfiles/tree/master/indent On Mon, Jun 25, 2018 at 2:59 PM, Blay263 wrote: > On Sunday, June 24, 2018 at 5:45:43 PM

Re: [patch] SAS syntax and indent scripts

2018-06-25 Fir de Conversatie Blay263
On Sunday, June 24, 2018 at 5:45:43 PM UTC-4, Christian Brabandt wrote: > On So, 24 Jun 2018, Blay263 wrote: > > > As i mentioned above issuing the command gg=G in a sas file removes all > > indention and the text is left aligned. > > With what file? Did you start with vim --clean? > > >

Re: [patch] SAS syntax and indent scripts

2018-06-24 Fir de Conversatie Christian Brabandt
On So, 24 Jun 2018, Blay263 wrote: > As i mentioned above issuing the command gg=G in a sas file removes all > indention and the text is left aligned. With what file? Did you start with vim --clean? Best, Christian -- Letzte Worte eines Grillmeisters: "Hein, gib mal den Spiritus rüber."

Re: [patch] SAS syntax and indent scripts

2018-06-24 Fir de Conversatie Blay263
As i mentioned above issuing the command gg=G in a sas file removes all indention and the text is left aligned. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: [patch] SAS syntax and indent scripts

2018-06-24 Fir de Conversatie Christian Brabandt
On So, 24 Jun 2018, Blay263 wrote: > This file works sometimes > .https://github.com/EricGebhart/SAS-Vim/blob/master/indent/sas.vim. There is > clearly something wrong with the "new" indent file. Please provide clear steps how to reproduce the issue. Best, Christian -- F: Was haben seit

Re: [patch] SAS syntax and indent scripts

2018-06-24 Fir de Conversatie Blay263
On Thursday, June 21, 2018 at 11:49:18 AM UTC-4, Zhen-Huan Hu wrote: > Is the SAS file type correctly recognized? What's the output of ":filetype" > command in your SAS file? If it shows "filetype detection:off" you would need > to have somthing like this:  >

Re: [patch] SAS syntax and indent scripts

2018-06-21 Fir de Conversatie Chris Glessner
On Thursday, June 21, 2018 at 11:49:18 AM UTC-4, Zhen-Huan Hu wrote: > Is the SAS file type correctly recognized? What's the output of ":filetype" > command in your SAS file? If it shows "filetype detection:off" you would need > to have somthing like this:  >

Re: [patch] SAS syntax and indent scripts

2018-06-21 Fir de Conversatie Keny Hu
Is the SAS file type correctly recognized? What's the output of ":filetype" command in your SAS file? If it shows "filetype detection:off" you would need to have somthing like this: https://github.com/akanosora/vimfiles/blob/master/ftdetect/sas.vim under your /vimfiles/ftdetect folder (I don't

Re: [patch] SAS syntax and indent scripts

2018-06-21 Fir de Conversatie Chris Glessner
On Sunday, August 27, 2017 at 7:55:50 PM UTC-4, Zhen-Huan Hu wrote: > I don't know what's causing the issue. Does it happen to all SAS files? Could > you replicate the issue without any third-party plugins? >   > > > On Sun, Aug 27, 2017 at 9:03 AM, Blay263 wrote: > Any update on the indenting

Re: [patch] SAS syntax and indent scripts

2017-08-27 Fir de Conversatie Keny Hu
I don't know what's causing the issue. Does it happen to all SAS files? Could you replicate the issue without any third-party plugins? On Sun, Aug 27, 2017 at 9:03 AM, Blay263 wrote: > Any update on the indenting issue > > -- > -- > You received this message from the

Re: [patch] SAS syntax and indent scripts

2017-08-27 Fir de Conversatie Blay263
Any update on the indenting issue -- -- You received this message from the "vim_dev" 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

Re: [patch] SAS syntax and indent scripts

2017-08-26 Fir de Conversatie Keny Hu
I suppose so. It's just a minor change of the regex to capture the end of a dataline block from '^;' to '^\s*;' On Sat, Aug 26, 2017 at 10:49 AM, Bram Moolenaar wrote: > > Keny Hu wrote: > > > Please try the attached syntax file and let me know if it solves the > syntax > >

Re: [patch] SAS syntax and indent scripts

2017-08-26 Fir de Conversatie Bram Moolenaar
Keny Hu wrote: > Please try the attached syntax file and let me know if it solves the syntax > issue. I suppose it's OK to include this fixed version. -- Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy lies a small unregarded yellow sun.

Re: [patch] SAS syntax and indent scripts

2017-08-26 Fir de Conversatie Blay263
On Saturday, August 26, 2017 at 2:06:42 AM UTC-4, Zhen-Huan Hu wrote: > Please try the attached syntax file and let me know if it solves the syntax > issue. > > > On Sat, Aug 26, 2017 at 12:59 AM, Blay263 wrote: > > > On Saturday, August 26, 2017 at 12:58:12 AM UTC-4,

Re: [patch] SAS syntax and indent scripts

2017-08-26 Fir de Conversatie Keny Hu
Please try the attached syntax file and let me know if it solves the syntax issue. On Sat, Aug 26, 2017 at 12:59 AM, Blay263 wrote: > On Saturday, August 26, 2017 at 12:58:12 AM UTC-4, Zhen-Huan Hu wrote: > > On Friday, August 25, 2017 at 6:50:09 PM UTC-5, Blay263 wrote: > >

Re: [patch] SAS syntax and indent scripts

2017-08-26 Fir de Conversatie Blay263
On Saturday, August 26, 2017 at 12:58:12 AM UTC-4, Zhen-Huan Hu wrote: > On Friday, August 25, 2017 at 6:50:09 PM UTC-5, Blay263 wrote: > > The indent file is not working on my windows machine.and the syntax file > > doesn't highlight anything after a datelines statement. > > > > I tried the

Re: [patch] SAS syntax and indent scripts

2017-08-25 Fir de Conversatie Zhen-Huan Hu
On Friday, August 25, 2017 at 6:50:09 PM UTC-5, Blay263 wrote: > The indent file is not working on my windows machine.and the syntax file > doesn't highlight anything after a datelines statement. > > I tried the files > https://github.com/EricGebhart/SAS-Vim/blob/master/indent/sas.vim here they

Re: [patch] SAS syntax and indent scripts

2017-08-25 Fir de Conversatie Blay263
On Thursday, March 23, 2017 at 5:17:26 PM UTC-4, Bram Moolenaar wrote: > Keny Hu wrote: > > > I have talked to James Kidd who maintains the SAS syntax script. He kindly > > agreed to have me assume the maintenance task for him. Please let me know > > if this is okay with you. > > Very good,

Re: [patch] SAS syntax and indent scripts

2017-03-23 Fir de Conversatie Bram Moolenaar
Keny Hu wrote: > I have talked to James Kidd who maintains the SAS syntax script. He kindly > agreed to have me assume the maintenance task for him. Please let me know > if this is okay with you. Very good, thanks for taking over. -- % cat /usr/include/sys/errno.h #define EPERM 1

Re: [patch] SAS syntax and indent scripts

2017-03-23 Fir de Conversatie Keny Hu
Hi Bram, I have talked to James Kidd who maintains the SAS syntax script. He kindly agreed to have me assume the maintenance task for him. Please let me know if this is okay with you. Best, Zhen-Huan On Mon, Mar 13, 2017 at 4:29 PM, Bram Moolenaar wrote: > > Zhen-Huan Hu

Re: [patch] SAS syntax and indent scripts

2017-03-13 Fir de Conversatie Bram Moolenaar
Zhen-Huan Hu wrote: > I also found an issue in the indent script. Please use the latest one here: > http://www.vim.org/scripts/download_script.php?src_id=25030 > > (Somehow, when I try to attach the file directly, I keep getting the > error from Google groups...) I'll include the update. You

Re: [patch] SAS syntax and indent scripts

2017-03-13 Fir de Conversatie Zhen-Huan Hu
I also found an issue in the indent script. Please use the latest one here: http://www.vim.org/scripts/download_script.php?src_id=25030 (Somehow, when I try to attach the file directly, I keep getting the error from Google groups...) -- -- You received this message from the "vim_dev"

Re: [patch] SAS syntax and indent scripts

2017-03-13 Fir de Conversatie Zhen-Huan Hu
On Sunday, March 12, 2017 at 10:33:07 AM UTC-5, Bram Moolenaar wrote: > I don't know the language, thus I can't judge wheter we are missing > something from the existing file. Also, some people might be upset if > we drop their file from the distribution without even asking. But maybe > they are

Re: [patch] SAS syntax and indent scripts

2017-03-12 Fir de Conversatie Bram Moolenaar
Zhen-Huan Hu wrote: > On Saturday, March 11, 2017 at 12:22:14 PM UTC-6, Bram Moolenaar > wrote: > > Thanks. The indent file is new, I can include that. > > > > There already is a SAS syntax file. Did you contact the maintainer, > > James Kidd? > > No, I haven't. I am not very familiar with

Re: [patch] SAS syntax and indent scripts

2017-03-11 Fir de Conversatie Zhen-Huan Hu
On Saturday, March 11, 2017 at 12:22:14 PM UTC-6, Bram Moolenaar wrote: > Thanks. The indent file is new, I can include that. > > There already is a SAS syntax file. Did you contact the maintainer, > James Kidd? No, I haven't. I am not very familiar with the process but if it is a completely

Re: [patch] SAS syntax and indent scripts

2017-03-11 Fir de Conversatie Bram Moolenaar
Zhen-Huan Hu wrote: > Vim is shipped with a default SAS syntax script but it has not been > updated for some time and many new statements and keywords introduced > in the later version of SAS are not supported. Vim does not have an > indent script for SAS. > > Attached are the SAS syntax and

[patch] SAS syntax and indent scripts

2017-03-10 Fir de Conversatie Zhen-Huan Hu
Vim is shipped with a default SAS syntax script but it has not been updated for some time and many new statements and keywords introduced in the later version of SAS are not supported. Vim does not have an indent script for SAS. Attached are the SAS syntax and indent scripts that I have been