Skip to content

chrismaher/vim-lookml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-lookml

This plugin offers simple improvements for editing LookML files via the following functionality:

  • Syntax highlighting
  • Code folding
  • Section navigation
  • Smarter indentation

See usage for more details.

Installation

Vim-Plug Add the following to ~/.vimrc:

Plug 'chrismaher/vim-lookml'

Call PlugInstall vim-lookml.

Pathogen

git clone https://github.com/chrismaher/vim-lookml.git ~/.vim/bundle/vim-lookml

Vundle Add the following to ~/.vimrc:

Plugin 'chrismaher/vim-lookml'

Call :PluginInstall.

Usage

Folding

By default, vim-lookml uses setlocal foldlevel=1 so that the topmost foldlevel is open for new buffers. This can be overridden using the g:lookml_foldlevel variable.

Sections

[[ and ]] are mapped to jump between field definitions in view files, and join definitions in model files.

[] and ][ are mapped to jump between explore and view definitions.

About

Vimscript plugin for LookML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published