mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:93f6454: runtime(openscad): add a filetype plugin
closes: vim/vim#17902
93f6454724
Co-authored-by: Squibid <me@zacharyscheiman.com>
This commit is contained in:

committed by
Christian Clason

parent
6502dd43c4
commit
d994be44d7
14
runtime/ftplugin/openscad.vim
Normal file
14
runtime/ftplugin/openscad.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: OpenSCAD (https://openscad.org)
|
||||
" Maintainer: Zachary Scheiman <me@zacharyscheiman.com>
|
||||
" Last Change: 2025 Aug 3
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Comments in openscad follow C/C++ syntax
|
||||
setlocal commentstring=//\ %s
|
||||
|
||||
let b:undo_ftplugin = 'setl commentstring<'
|
Reference in New Issue
Block a user