File tree Expand file tree Collapse file tree 10 files changed +117
-0
lines changed
autoload/neomake/makers/ft Expand file tree Collapse file tree 10 files changed +117
-0
lines changed Original file line number Diff line number Diff line change 1+ function ! neomake#makers#ft#menhit#EnabledMakers () abort
2+ return [' merlin' ]
3+ endfunction
4+
5+ function ! neomake#makers#ft#menhir#merlin () abort
6+ let maker = {}
7+ function ! maker.get_list_entries (jobinfo)
8+ return merlin#ErrorLocList ()
9+ endfunction
10+ return maker
11+ endfunction
Original file line number Diff line number Diff line change 1+ function ! neomake#makers#ft#ocamlinterface#EnabledMakers () abort
2+ return [' merlin' ]
3+ endfunction
4+
5+ function ! neomake#makers#ft#ocamlinterface#merlin () abort
6+ let maker = {}
7+ function ! maker.get_list_entries (jobinfo)
8+ return merlin#ErrorLocList ()
9+ endfunction
10+ return maker
11+ endfunction
Original file line number Diff line number Diff line change 1+ function ! neomake#makers#ft#ocamllex#EnabledMakers () abort
2+ return [' merlin' ]
3+ endfunction
4+
5+ function ! neomake#makers#ft#ocamllex#merlin () abort
6+ let maker = {}
7+ function ! maker.get_list_entries (jobinfo)
8+ return merlin#ErrorLocList ()
9+ endfunction
10+ return maker
11+ endfunction
Original file line number Diff line number Diff line change 1111 (autoload/merlin_visual.vim as vim/autoload/merlin_visual.vim)
1212 (doc/merlin.txt as vim/doc/merlin.txt)
1313 (ftdetect/merlin.vim as vim/ftdetect/merlin.vim)
14+ (ftplugin/menhir.vim as vim/ftplugin/menhir.vim)
1415 (ftplugin/merlin.vim as vim/ftplugin/merlin.vim)
1516 (ftplugin/ocaml.vim as vim/ftplugin/ocaml.vim)
17+ (ftplugin/ocamlinterface.vim as vim/ftplugin/ocamlinterface.vim)
18+ (ftplugin/ocamllex.vim as vim/ftplugin/ocamllex.vim)
1619 (ftplugin/omlet.vim as vim/ftplugin/omlet.vim)
1720 (ftplugin/reason.vim as vim/ftplugin/reason.vim)
1821 (plugin/merlin.vim as vim/plugin/merlin.vim)
22+ (syntax_checkers/menhir/merlin.vim as vim/syntax_checkers/menhir/merlin.vim)
1923 (syntax_checkers/ocaml/merlin.vim as vim/syntax_checkers/ocaml/merlin.vim)
24+ (syntax_checkers/ocamlinterface/merlin.vim as vim/syntax_checkers/ocamlinterface/merlin.vim)
25+ (syntax_checkers/ocamllex/merlin.vim as vim/syntax_checkers/ocamllex/merlin.vim)
2026 (syntax_checkers/omlet/merlin.vim as vim/syntax_checkers/omlet/merlin.vim)
2127 (syntax/merlin.vim as vim/syntax/merlin.vim)))
Original file line number Diff line number Diff line change 1+ " Activate merlin on current buffer
2+ call merlin#Register ()
Original file line number Diff line number Diff line change 1+ " Activate merlin on current buffer
2+ call merlin#Register ()
Original file line number Diff line number Diff line change 1+ " Activate merlin on current buffer
2+ call merlin#Register ()
Original file line number Diff line number Diff line change 1+ " Enable Syntastic support
2+ " Make sure syntax_checkers directory is on runtime path, then set
3+ " :let g:syntastic_menhir_checkers=['merlin']
4+
5+ function ! SyntaxCheckers_ocaml_merlin_IsAvailable ()
6+ if ! exists (" *merlin#SelectBinary" )
7+ return 0
8+ endif
9+ try
10+ let l: path = merlin#SelectBinary ()
11+ return executable (l: path )
12+ catch
13+ return 0
14+ endtry
15+ endfunction
16+
17+ function ! SyntaxCheckers_ocaml_merlin_GetLocList ()
18+ return merlin#ErrorLocList ()
19+ endfunction
20+
21+ call g: SyntasticRegistry .CreateAndRegisterChecker ({
22+ \ ' filetype' : ' menhir' ,
23+ \ ' name' : ' merlin' })
Original file line number Diff line number Diff line change 1+ " Enable Syntastic support
2+ " Make sure syntax_checkers directory is on runtime path, then set
3+ " :let g:syntastic_ocamlinterface_checkers=['merlin']
4+
5+ function ! SyntaxCheckers_ocamlinterface_merlin_IsAvailable ()
6+ if ! exists (" *merlin#SelectBinary" )
7+ return 0
8+ endif
9+ try
10+ let l: path = merlin#SelectBinary ()
11+ return executable (l: path )
12+ catch
13+ return 0
14+ endtry
15+ endfunction
16+
17+ function ! SyntaxCheckers_ocamlinterface_merlin_GetLocList ()
18+ return merlin#ErrorLocList ()
19+ endfunction
20+
21+ call g: SyntasticRegistry .CreateAndRegisterChecker ({
22+ \ ' filetype' : ' ocamlinterface' ,
23+ \ ' name' : ' merlin' })
Original file line number Diff line number Diff line change 1+ " Enable Syntastic support
2+ " Make sure syntax_checkers directory is on runtime path, then set
3+ " :let g:syntastic_ocamllex_checkers=['merlin']
4+
5+ function ! SyntaxCheckers_ocaml_merlin_IsAvailable ()
6+ if ! exists (" *merlin#SelectBinary" )
7+ return 0
8+ endif
9+ try
10+ let l: path = merlin#SelectBinary ()
11+ return executable (l: path )
12+ catch
13+ return 0
14+ endtry
15+ endfunction
16+
17+ function ! SyntaxCheckers_ocaml_merlin_GetLocList ()
18+ return merlin#ErrorLocList ()
19+ endfunction
20+
21+ call g: SyntasticRegistry .CreateAndRegisterChecker ({
22+ \ ' filetype' : ' ocamllex' ,
23+ \ ' name' : ' merlin' })
24+ call g: SyntasticRegistry .CreateAndRegisterChecker ({
25+ \ ' filetype' : ' menhir' ,
26+ \ ' name' : ' merlin' })
You can’t perform that action at this time.
0 commit comments