Csound Csound-dev Csound-tekno Search About

[Csnd] Csound-vim foldmethod

Date2018-10-12 09:14
Fromfauveboy
Subject[Csnd] Csound-vim foldmethod
https://github.com/luisjure/csound-vim

after installing csound vim syntax I "cannot create fold with current
'foldmethod'". I don't know what to change that to a point I can change the
fold?

Thanks



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-10-12 14:31
Fromluis jure
SubjectRe: [Csnd] Csound-vim foldmethod
el 2018-10-12 a las 01:14 fauveboy escribió:

> after installing csound vim syntax I "cannot create fold with current
> 'foldmethod'". I don't know what to change that to a point I can change
> the fold?

hi,

i'm not completely sure i understand the problem. do you want to create
folders manually? the fold method of the plugin is "syntax", meaning that
folds are created automatically according to syntactic sections
(orchestra, score, instruments, commented blocks, etc.)

if you want to manually create, delete or modify folds, type

:set foldmethod=manual

i hope this helps. 

:he foldmethod can also be useful.




--

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-10-12 15:16
Fromfauveboy
SubjectRe: [Csnd] Csound-vim foldmethod
my vimrc file looks like so:

execute pathogen#infect()

set number
set tabstop=4
syntax on
set foldmethod=manual

but after installing the csound vim 
and still with set foldmethod=manual. I cant delete or create folds when I
open my .csd files




--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-10-12 23:27
Fromluis jure
SubjectRe: [Csnd] Csound-vim foldmethod
as i said, when you open a .csd file, the plugin sets the fold method
"syntax", overruling what you may have in your vimrc. 

if you want to modify folds manually, when you open a .csd file type this
from within vim:

:set foldmethod=manual

then you'll be able to create and/or modify folds manually.

if you want to eliminate automatic folds altogether, you have the option
to modify de plugin.






--

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here