1
0
mirror of https://github.com/amix/vimrc synced 2025-07-09 02:25:00 +08:00

I don't know how to ignore autoformatting *.h.in files, so change into autoformat files manually.

This commit is contained in:
Kurtis Moxley
2022-06-05 22:09:27 +08:00
parent e371e16382
commit 27c01e54fa
23 changed files with 2776 additions and 1 deletions

View File

@ -0,0 +1,47 @@
" ==============================================================================
" Location: autoload/cmake/const.vim
" Description: Constants and definitions
" ==============================================================================
let s:const = {}
let s:const.plugin_version = '0.7.1'
let s:const.plugin_news = {
\ '0.2.0': ['Vim-CMake has a new feature, run `:help cmake-switch`'],
\ '0.3.0': ['Vim-CMake has a new feature, run `:help cmake-quickfix`'],
\ '0.4.0': ['Vim-CMake has a new config option `g:cmake_generate_options`'],
\ '0.5.0': ['Vim-CMake has a new feature, run `:help cmake-events`'],
\ '0.6.0': [
\ 'Vim-CMake has a new config option `g:cmake_build_dir_location`',
\ 'Vim-CMake has improved :CMakeGenerate, run `:help cmake-generate`'
\ ],
\ '0.7.0': [
\ 'Vim-CMake has new command `:CMakeStop`, run `:help cmake-stop`',
\ 'Vim-CMake has a new config option `g:cmake_console_echo_cmd`'
\ ],
\ }
let s:const.config_vars = {
\ 'cmake_command' : 'cmake',
\ 'cmake_default_config' : 'Debug',
\ 'cmake_build_dir_location' : '.',
\ 'cmake_generate_options' : [],
\ 'cmake_build_options' : [],
\ 'cmake_native_build_options' : [],
\ 'cmake_console_size' : 15,
\ 'cmake_console_position' : 'botright',
\ 'cmake_console_echo_cmd' : 1,
\ 'cmake_jump' : 0,
\ 'cmake_jump_on_completion' : 0,
\ 'cmake_jump_on_error' : 1,
\ 'cmake_link_compile_commands' : 0,
\ 'cmake_root_markers' : ['.git', '.svn'],
\ 'cmake_log_file' : '',
\ }
" Get const 'object'.
"
function! cmake#const#Get() abort
return s:const
endfunction