8000 runtime(cobweb): add support for cobweb by FabricSoul · Pull Request #17176 · vim/vim · GitHub
[go: up one dir, main page]

Skip to content

runtime(cobweb): add support for cobweb #17176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

FabricSoul
Copy link

Add support to cobweb

" Setup indentation to 4 spaces
" To disable add the this line to your vim config
" let g:caf_recommended_style = 0
if get(g:, 'caf_recommended_style', 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this variable should be documented.

else
let g:NERDCustomDelimiters = { 'caf': s:delims }
endif
unlet s:delims
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all those filetype specific settings should be made undoable by setting the b:undo_ftplugin variable


setlocal cindent
setlocal cinoptions=L0,(0,Ws,J1,j1,m1
setlocal cinkeys=0{,0},!^F,o,O,0[,0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similarly here, we need an undo_indent plugin variable.

@chrisbra
Copy link
Member

ping @FabricSoul

@FabricSoul
Copy link
Author

ping @FabricSoul

Hi I recently don't have time to work on this, I will open another pr when I got time to work on these

@FabricSoul FabricSoul closed this May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0