[ncl-talk] elseif and vim
Carl Schreck
cjschrec at ncsu.edu
Fri Feb 1 11:31:49 MST 2019
Thanks! The default indentation doesn't pick up on elseif:
if( a.eq.b ) then
x= 1
elseif( b.eq.c ) then
x=2
end if
Ideally, it would look like this:
if( a.eq.b ) then
x= 1
elseif( b.eq.c ) then
x=2
end if
On Fri, Feb 1, 2019 at 1:18 PM Rick Brownrigg <brownrig at ucar.edu> wrote:
> Hi Carl,
>
> I will take care of the documentation, and thanks for pointing that our.
> What's the issue you are having with respect to indentation in vi?
>
> Rick
>
> On Thu, Jan 31, 2019 at 1:43 PM Carl Schreck <cjschrec at ncsu.edu> wrote:
>
>> Just a quick note, I happened to be updating my vim syntax tools today
>> and noticed that the new "elseif" isn't on the Keywords page
>> <http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclKeywords.shtml>.
>>
>> Also, if anyone understand vim better than I and can think of how to get
>> it to indent elseif's correctly, I'm all ears!
>>
>> Carl
>>
>> --
>>
>> <https://ncics.org/> *Carl J. Schreck III, PhD*
>> *Research Scholar*
>> North Carolina State University <http://ncsu.edu/>
>> North Carolina Institute for Climate Studies (NCICS) <https://ncics.org/>
>> 151 Patton Ave, Asheville, NC 28801
>> e: cjschrec at ncsu.edu
>> o: +1 828 257 3140 <(828)%20257-3140>
>> c: +1 828 484 1702 <(828)%20484-1702>
>> Publications
>> <http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
>> ncics.org/mjo
>> CycloneCenter.org <https://www.cyclonecenter.org/>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
--
<https://ncics.org/> *Carl J. Schreck III, PhD*
*Research Scholar*
North Carolina State University <http://ncsu.edu/>
North Carolina Institute for Climate Studies (NCICS) <https://ncics.org/>
151 Patton Ave, Asheville, NC 28801
e: cjschrec at ncsu.edu
o: +1 828 257 3140 <(828)%20257-3140>
c: +1 828 484 1702 <(828)%20484-1702>
Publications
<http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
ncics.org/mjo
CycloneCenter.org <https://www.cyclonecenter.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190201/dfea908f/attachment.html>
More information about the ncl-talk
mailing list