GitXplorerGitXplorer
u

ft-cmake

public
4 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
c1914545bf994a2e248fee6e8a84489210405e3e

Merge pull request #3 from umitkablan/master

uujihisa committed 8 years ago
Unverified
d64e73ba173ecd1407fbafd696396fde8be65ae1

formatoptions, commentstring, comments, includeexpr, keywordprg, and undo_ftplugin definitions.

committed 8 years ago
Unverified
d3b5b856bf574cba4771ef4f4fa0dd712a6130eb

Merge pull request #2 from umitkablan/master

uujihisa committed 8 years ago
Unverified
c0f82d45e542d8fedb2b1e4cd588a641d4bc7884

Added matchit (%) movement keywords.

committed 8 years ago
Unverified
09028f0d09f3defb2c4b17da8b5bdba52966549c

Fix the use of stridx to use string instead of regex

uujihisa committed 8 years ago
Unverified
289121f0c9ab11a3ab645414170bbd2ce29baf4c

1.1 dev

uujihisa committed 11 years ago

README

The README file for this repository.

filetype cmake vim plugin

NeoBundle 'ujihisa/ft-cmake'

Assumptions

You have indent/cmake.vim and syntax/cmake.vim, and also when you edit CMakeLists.txt the &filetype is "cmake".

Usage

<C-x><C-k> in insert mode to use dictionary completion (Vim's builtin feature.)

References

Keywords in dict/cmake.vim are from http://www.cmake.org/Wiki/CMake_Useful_Variables

Technical details

  • dict/cmake.txt
require 'nokogiri'
require 'open-uri'

x = open('http://www.cmake.org/Wiki/CMake_Useful_Variables').read
n = Nokogiri::HTML(x)
puts (n / 'dt').map(&:text).map(&:strip).sort

and some manual tweaks

License

GPLv3 or any later version.