Johann Klähn
e9cce29761
Ask before loading .ycm_extra_conf.py files
...
To prevent the execution of malicious code the new default is
to ask the user before a `.ycm_extra_conf.py` file is loaded.
This can be disabled using the option `g:ycm_confirm_extra_conf`.
This commit introduces a helper class `FlagsModules` that keeps track of
and caches the currently loaded modules. To introduce further criteria
for a module look at `FlagsModules.ShouldLoad`.
Also `:YcmDebugInfo` now lists the file that was used to determine
the current set of flags.
`Flags.ModuleForFile` could be used in a user-facing command that
opens the `.ycm_extra_conf.py` corresponding to the current file.
A second command could then force a reloding of this module via
`Flags.ReloadModule`.
2013-02-26 11:16:26 +01:00
Strahinja Val Markovic
bae3665602
Adding semantic triggers for Go
2013-02-25 19:09:58 -08:00
Strahinja Val Markovic
05f707344b
Updating docs with semantic trigger changes
2013-02-25 11:21:25 -08:00
Strahinja Val Markovic
78dd01804d
Docs linking to Windows installation wiki page
...
That wiki page along with the last several commits that make YCM compiled
cleanly with MSVC should make it possible to use YCM on Windows. Fixes #62 .
2013-02-23 16:50:21 -08:00
Strahinja Val Markovic
78b5ef93cf
Ubuntu install docs now mention build-essential
2013-02-23 11:44:58 -08:00
Benjie Gillam
a4affacdd7
Fix README typo for g:ycm_semantic_triggers value
2013-02-20 14:06:03 +00:00
Strahinja Val Markovic
9501c649aa
New FAQ entry; segfaults on some linux distros
2013-02-17 19:08:30 -08:00
Val Markovic
9e3aa21a77
Merge pull request #119 from olajep/let-local-conf-override-global
...
Let local YCM config file override global config file
2013-02-17 13:07:38 -08:00
Ola Jeppsson
3d1a86c382
Let local YCM config file override global config file
...
Currently, when VIM opens a source file, YCM always defaults to
'g:global_ycm_extra_conf_file' if it exists.
This commit changes YCM's behaviour so that it first tries to find the config
file in the source file's folder (or any of its parents folder), before
falling back to 'g:global_ycm_extra_conf_file'.
2013-02-17 19:06:48 +01:00
Strahinja Val Markovic
40504177c3
Docs rewording; have other lang semantic support
2013-02-16 14:26:24 -08:00
Strahinja Val Markovic
e743076e14
Option to collect identifiers n comments/strings
...
Fixes #98 .
2013-02-16 14:00:46 -08:00
Strahinja Val Markovic
3f1b5c9283
Option to complete inside comments and strings.
...
Fixes issue #105 .
2013-02-16 12:56:21 -08:00
Val Markovic
5fad9564d1
Merge pull request #110 from meh/fix-semantic-triggers
...
Improve default semantic triggers
2013-02-15 09:42:48 -08:00
meh
86881d01dd
Improve default semantic triggers
2013-02-15 04:27:58 +01:00
Strahinja Val Markovic
48881f14de
Doc note for Mac users about having latest Xcode
2013-02-14 09:50:44 -08:00
Strahinja Val Markovic
dcae48adf9
Changing the wording of the warning to recompile
...
Since YCM now checks for the version of the ycm_core library, the user will
always know when he needs to recompile.
2013-02-12 20:58:00 -08:00
Strahinja Val Markovic
dbad91e758
The docs now reflect the new omni-completer
...
... and the new, fleshed-out Completer API.
YCM now provides semantic completions for every language that Vim has
omnicomplete support for, which is _a lot of them_.
2013-02-12 20:31:46 -08:00
Strahinja Val Markovic
66ff461aa8
Fixing typo in readme
2013-02-10 14:24:04 -08:00
Strahinja Val Markovic
4b5cbdbc9d
Multiple mappings possible for selection cycling
...
This change also makes the arrow keys behave like Tab and Shift-Tab.
Fixes issue #83 .
2013-02-08 18:30:28 -08:00
Strahinja Val Markovic
561dc26b86
New FAQ item about not using vim-autoclose
2013-02-07 21:06:16 -08:00
Zeh Rizzatti
2897d56d95
Update the README mentioning install.sh
2013-02-07 19:29:59 -08:00
Strahinja Val Markovic
6e6271ddf2
FAQ entry about the "nosy" completions
2013-02-07 18:06:12 -08:00
Strahinja Val Markovic
54560abbad
Note about python headers to install guide
...
Fixes issue #73
2013-02-07 16:56:58 -08:00
Strahinja Val Markovic
a5048f6aa6
Typo fix
2013-02-07 09:58:16 -08:00
Strahinja Val Markovic
a61036eede
Formatting fixes for readme
2013-02-07 09:57:22 -08:00
Strahinja Val Markovic
d396fe193c
Extra item in FAQ
...
This one's about conflicting versions of Python detected.
2013-02-07 09:55:41 -08:00
Strahinja Val Markovic
7cf179e2b8
Some default mappings can be set to empty strings
...
This allows the user to not have a mapping. Also, showing a detailed diagnostic
is now possible through a new command.
Fixes #64 .
2013-02-06 18:34:08 -08:00
Strahinja Val Markovic
3feefce197
Docs for Homebrew Python/MacVim
...
This can't really be fixed on YCM's side since it's a system configuration
issue, but we can at least warn the user and provide him with information on how
to resolve this.
Fixes #18 (not really, but it's the best we can do).
2013-02-06 10:21:01 -08:00
Benjamin Althues
2a03c254d4
Typofix :has('python') -> :echo has('python')
2013-02-05 23:45:55 +01:00
Justin Clarke
64d8735fab
Update README to clarify steps for commandline vim users on OS X.
2013-02-05 19:18:42 +11:00
Strahinja Val Markovic
b7eded1417
More makedir -> mkdir
2013-02-04 23:12:34 -08:00
Kenneth Ballenegger
f97d00250d
Fix typo in install code.
2013-02-04 23:10:44 -08:00
Strahinja Val Markovic
0bfe578a35
Clarifying a FAQ item
2013-02-04 09:48:55 -08:00
Strahinja Val Markovic
b4a9fabc39
Telling Mac users that MacVim has a console Vim
2013-02-02 22:36:15 -08:00
Strahinja Val Markovic
29b01e6a21
Yet another FAQ item
2013-02-02 22:32:44 -08:00
Strahinja Val Markovic
02659826ae
Yet another FAQ item
2013-02-02 22:28:11 -08:00
Strahinja Val Markovic
aa233a7a42
Adding a link to the issue tracker
2013-02-02 13:43:13 -08:00
Strahinja Val Markovic
bd10857330
Adding command descriptions to README
2013-02-02 13:38:04 -08:00
Strahinja Val Markovic
36ad7e484c
New FAQ items
2013-02-02 13:29:38 -08:00
Strahinja Val Markovic
6e3205ee34
Linking to wiki page on building Vim
2013-02-02 13:29:27 -08:00
Strahinja Val Markovic
77d631d979
Mappings in README now show up correctly; fixes #5
2013-02-02 10:41:31 -08:00
Strahinja Val Markovic
3ea7f442d0
New entry to FAQ in README
2013-02-01 16:06:48 -08:00
pydave
69363626ff
Correct Ubuntu CMake install command typo
2013-02-01 15:34:13 -08:00
Strahinja Val Markovic
7c573528ed
New YcmDiags command that shows diagnostics
...
Docs updated to mention it. Syntastic is still a better option than calling this
command.
2013-01-31 19:21:11 -08:00
Strahinja Val Markovic
1779cbbb55
Typo fix
2013-01-31 14:14:06 -08:00
Strahinja Val Markovic
8f6ebce42c
Documenting the show-full-diag-message command
2013-01-31 12:32:07 -08:00
Strahinja Val Markovic
d9032eaa68
Pointing out the red X in the demo
2013-01-31 11:12:00 -08:00
Strahinja Val Markovic
e5e8a38f8d
Typo fixes in the readme
2013-01-31 11:09:08 -08:00
Strahinja Val Markovic
ede69a710a
Explanation for the YCM gif demo
2013-01-31 11:05:49 -08:00
Strahinja Val Markovic
33e0431abc
Extra FAQ item about Syntastic
2013-01-30 14:48:41 -08:00
Strahinja Val Markovic
8452914046
Adding a command to force recompilation and diags
2013-01-30 14:46:58 -08:00
Strahinja Val Markovic
79f834f97e
Now possible to specify a global ycm_extra_conf
2013-01-30 13:23:57 -08:00
Strahinja Val Markovic
5c7adfdec7
YCM gif screencast for readme file
2013-01-29 23:46:10 -08:00
Strahinja Val Markovic
68f0bcb1c1
Adding :YcmDebugInfo to the readme FAQ
2013-01-28 10:03:32 -08:00
Strahinja Val Markovic
9b3e009ed1
Mappings can now be easily remapped
2013-01-26 18:45:27 -08:00
Strahinja Val Markovic
60860d82f3
Adding shift-tab for prev completion too
2013-01-26 17:58:34 -08:00
Strahinja Val Markovic
a36f449baa
FAQ question rewording
2013-01-26 17:47:05 -08:00
Strahinja Val Markovic
873528d472
Extra items to the README user guide TODO
2013-01-26 17:38:11 -08:00
Strahinja Val Markovic
1f923b55d7
New entry to the FAQ
2013-01-26 16:52:37 -08:00
Strahinja Val Markovic
05f57e16d1
Stronger install guide wording and warning
2013-01-26 16:47:59 -08:00
Strahinja Val Markovic
396309a5b6
Adding a note to step 5 of the install guide
2013-01-26 16:44:58 -08:00
Strahinja Val Markovic
421e15f1e1
Readme rewording
2013-01-25 14:50:45 -08:00
Strahinja Val Markovic
8ce2aa8ab7
Adding a new entry to the FAQ
2013-01-25 14:49:23 -08:00
Strahinja Val Markovic
96bee8a025
Docs now instruct to build ycm_core, not all
2013-01-24 19:17:39 -08:00
Strahinja Val Markovic
a2343cad4c
Added an entry to the FAQ
2013-01-24 18:07:46 -08:00
Strahinja Val Markovic
19637cadda
Renaming ycm_clang_options to ycm_extra_conf
2013-01-24 09:59:21 -08:00
Strahinja Val Markovic
440a2c17f2
Updating docs and the example ycm_clang_options.py
2013-01-22 21:05:32 -08:00
Strahinja Val Markovic
ee919417af
Managing memory from the C interface better
2013-01-22 19:40:05 -08:00
Strahinja Val Markovic
7b6fa9e409
First real version of the README; still WIP
2013-01-21 21:36:17 -08:00
Strahinja Markovic
cdc3bc35ec
Adding initial readme file
2012-04-15 20:14:47 -07:00