Skip to content
/ vim-ucl Public

Vim support for UCL (Universal Configuration Language) files, including syntax highlighting and indentation.

License

Notifications You must be signed in to change notification settings

owallb/vim-ucl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-ucl

Vim support for UCL (Universal Configuration Language) files, including syntax highlighting and indentation.

Installation

Using vim-plug

Plug 'owallb/vim-ucl'

Using lazy.nvim

{
  'owallb/vim-ucl',
}

Manual Installation

Copy the contents of this repository into your ~/.vim directory (or %USERPROFILE%\vimfiles on Windows).

File Type Detection

By default, this plugin will be activated for files with the .ucl extension. If you use UCL files with different extensions, you have several options:

Via vimrc

Add this to your vimrc:

autocmd BufNewFile,BufRead *.conf setfiletype ucl

Via modeline

Add one of these lines near the start or end of your UCL file:

# vim: ft=ucl

or

/* vim: set ft=ucl: */

Configuration

The plugin has one configuration option:

" Disable syntax folding (enabled by default)
let g:ucl_fold = 0

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Acknowledgments

About

Vim support for UCL (Universal Configuration Language) files, including syntax highlighting and indentation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published