mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:40:05 +08:00
Add doc for elixir layer
This commit is contained in:
parent
3a82abded4
commit
a2160fb812
@ -298,6 +298,12 @@ function! SpaceVim#end() abort
|
|||||||
let help = fnamemodify(g:Config_Main_Home, ':p:h:h') . '/doc'
|
let help = fnamemodify(g:Config_Main_Home, ':p:h:h') . '/doc'
|
||||||
exe 'helptags ' . help
|
exe 'helptags ' . help
|
||||||
|
|
||||||
|
""
|
||||||
|
" set language
|
||||||
|
if !empty(g:spacevim_language)
|
||||||
|
silent exec 'lan ' . g:spacevim_language
|
||||||
|
endif
|
||||||
|
|
||||||
call SpaceVim#plugins#load()
|
call SpaceVim#plugins#load()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
""
|
||||||
|
" @section checkers, layer-checkers
|
||||||
|
" @parentsection layers
|
||||||
|
" SpaceVim use neomake as default syntax checker.
|
||||||
|
|
||||||
function! SpaceVim#layers#checkers#plugins() abort
|
function! SpaceVim#layers#checkers#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
|
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
""
|
||||||
|
" @section lang#elixir, layer-lang-elixir
|
||||||
|
" @parentsection layers
|
||||||
|
" @subsection Intro
|
||||||
|
" lang#elixir layer provide code completion,documentation lookup, jump to
|
||||||
|
" definition, mix integration and iex integration for elixir project. SpaceVim
|
||||||
|
" use neomake as default syntax checker which is loaded in
|
||||||
|
" @section(layer-checkers)
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#elixir#plugins() abort
|
function! SpaceVim#layers#lang#elixir#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
call add(plugins, ['slashmili/alchemist.vim', {'on_ft' : 'elixir'}])
|
call add(plugins, ['slashmili/alchemist.vim', {'on_ft' : 'elixir'}])
|
||||||
|
@ -26,7 +26,7 @@ else
|
|||||||
silent exec 'language en_US'
|
silent exec 'language en_US'
|
||||||
else
|
else
|
||||||
" in linux-terminal
|
" in linux-terminal
|
||||||
silent exec 'lan POSIX'
|
silent exec 'lan en_US.utf8'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -8,15 +8,17 @@ CONTENTS *SpaceVim-contents*
|
|||||||
3. Functions............................................|SpaceVim-functions|
|
3. Functions............................................|SpaceVim-functions|
|
||||||
4. Layers..................................................|SpaceVim-layers|
|
4. Layers..................................................|SpaceVim-layers|
|
||||||
1. autocomplete..................................|SpaceVim-autocomplete|
|
1. autocomplete..................................|SpaceVim-autocomplete|
|
||||||
2. colorscheme....................................|SpaceVim-colorscheme|
|
2. checkers....................................|SpaceVim-layer-checkers|
|
||||||
3. lang#c........................................|SpaceVim-layer-lang-c|
|
3. colorscheme....................................|SpaceVim-colorscheme|
|
||||||
4. lang#go......................................|SpaceVim-layer-lang-go|
|
4. lang#c........................................|SpaceVim-layer-lang-c|
|
||||||
5. lang#java..................................|SpaceVim-layer-lang-java|
|
5. lang#elixir..............................|SpaceVim-layer-lang-elixir|
|
||||||
6. lang#php....................................|SpaceVim-layer-lang-php|
|
6. lang#go......................................|SpaceVim-layer-lang-go|
|
||||||
7. lang#python..............................|SpaceVim-layer-lang-python|
|
7. lang#java..................................|SpaceVim-layer-lang-java|
|
||||||
8. lang#rust..................................|SpaceVim-layer-lang-rust|
|
8. lang#php....................................|SpaceVim-layer-lang-php|
|
||||||
9. lang#xml....................................|SpaceVim-layer-lang-xml|
|
9. lang#python..............................|SpaceVim-layer-lang-python|
|
||||||
10. shell.........................................|SpaceVim-layer-shell|
|
10. lang#rust.................................|SpaceVim-layer-lang-rust|
|
||||||
|
11. lang#xml...................................|SpaceVim-layer-lang-xml|
|
||||||
|
12. shell.........................................|SpaceVim-layer-shell|
|
||||||
5. FAQ........................................................|SpaceVim-faq|
|
5. FAQ........................................................|SpaceVim-faq|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -264,6 +266,11 @@ neosnippet support custtom snippets, and the default snippets directory is
|
|||||||
`~/.SpaceVim.d/snippets/` and if g:spacevim_force_global_config = 1, SpaceVim
|
`~/.SpaceVim.d/snippets/` and if g:spacevim_force_global_config = 1, SpaceVim
|
||||||
will not append `./.SpaceVim.d/snippets` as default snippets directory.
|
will not append `./.SpaceVim.d/snippets` as default snippets directory.
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
CHECKERS *SpaceVim-layer-checkers*
|
||||||
|
|
||||||
|
SpaceVim use neomake as default syntax checker.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
COLORSCHEME *SpaceVim-colorscheme*
|
COLORSCHEME *SpaceVim-colorscheme*
|
||||||
|
|
||||||
@ -432,6 +439,15 @@ get completions within conditional preprocessor blocks. The default is 50,
|
|||||||
setting it to 0 disables this feature.
|
setting it to 0 disables this feature.
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#ELIXIR *SpaceVim-layer-lang-elixir*
|
||||||
|
|
||||||
|
INTRO
|
||||||
|
lang#elixir layer provide code completion,documentation lookup, jump to
|
||||||
|
definition, mix integration and iex integration for elixir project. SpaceVim
|
||||||
|
use neomake as default syntax checker which is loaded in
|
||||||
|
|SpaceVim-layer-checkers|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
LANG#GO *SpaceVim-layer-lang-go*
|
LANG#GO *SpaceVim-layer-lang-go*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user