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 <[email protected]> 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: > > > 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 work but have limitations. > > > > Are your SAS files recognized correctly by Vim? What is the "filetype" > value? > > > > Does this happen to all SAS files or just some specific files? Could you > send me a sample file with indent/syntax issue to see if I can reproduce > the issue? > > > > As for the dataline syntax, do you have a semicolon at the start of a > newline to mark the end of a dataline block? A dataline block in SAS needs > to be written as: > > > > dataline > > xx xx xx > > xx xx xx > > ; > > > > The semicolon must be the first character in a new line to form a null > statement; otherwise SAS will throw an error. > > I have added the before and after issuing the command gg=G in normal > mode.As you can see there is no indenting at all. > > I have also added a file with no syntax highlighting.It works in sas 9.4 > > -- -- 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 Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
sas.vim
Description: Binary data
