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: 
> https://github.com/akanosora/vimfiles/blob/master/ftdetect/sas.vim under your 
> /vimfiles/ftdetect folder (I don't think Vim automatically recognizes SAS 
> files). Otherwise, you can try to switch auto indent on by typing ":filetype 
> indent on".
> 
> 
> On Thu, Jun 21, 2018 at 9:33 AM, Chris Glessner <[email protected]> wrote:
> 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 <[email protected]> wrote:
> 
> > 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 a topic in the 
> > Google Groups "vim_dev" group.
> 
> > 
> 
> > To unsubscribe from this topic, visit 
> > https://groups.google.com/d/topic/vim_dev/CflWb5jChQ4/unsubscribe.
> 
> > 
> 
> > To unsubscribe from this group and all its topics, send an email to 
> > [email protected].
> 
> > 
> 
> > For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> Sorry to be posting to this a year later, but I just found this thread.  I'm 
> facing the same issue with the indent plugin not working properly.  
> Specifically, it seems no text automatically indents and normal gg=G removes 
> all indentation, as Blay263 pointed out.
> 
> 
> 
> I am running 32-Bit gVim 8.1 on Windows.  For me, this affects all SAS files. 
>  I was able to confirm I get the same behavior running no plugins in both Vim 
> and gVim (vim -u NONE).  I checked that the plugin was indeed loaded (echo 
> exists("*GetSASIndent")), but it will not indent.
> 
> 
> 
> 
> 
> -- 
> 
> -- 
> 
> 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 a topic in the Google 
> Groups "vim_dev" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/vim_dev/CflWb5jChQ4/unsubscribe.
> 
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> 
> For more options, visit https://groups.google.com/d/optout.

I use autocommands in my usual setup to detect SAS files and set them up 
accordingly.  So ":set filetype" returns "filetype=sas" and ":filetype" returns 
"filetype detection:ON plugin:ON indent:ON" when I'm editing a .sas file.  I 
also set autoindent in my vimrc.  Not sure what the expected configuration is 
for that, but my setup was working well on Vim 8.0 and only broke yesterday, 
when I installed Vim 8.1.

Regarding running with no plugins, I did manually specify ":set filetype=sas" 
and ":filetype plugin indent on" and confirmed they were set before trying out 
some code.  It still would not indent.

-- 
-- 
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.

Raspunde prin e-mail lui