Johann Klähn
1d566bad80
Implement white-/blacklisting
2013-02-28 18:15:09 +01:00
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
Val Markovic
3a285e8a31
Merge pull request #122 from cehoffman/cygwin_support
...
Get cygwin compilation working
2013-02-19 00:13:41 -08:00
Chris Hoffman
ee943d7173
Add missing option for ycm_core to be a dll
2013-02-18 23:56:23 -06: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
meh
86881d01dd
Improve default semantic triggers
2013-02-15 04:27:58 +01:00
Strahinja Val Markovic
452f7d1fec
Better triggering of semantic completion
...
Now there's a nice user-configurable setting for when YCM should trigger
semantic completion. This is very useful for the new omni_completer that uses
data coming from Vim's omnicomplete system.
2013-02-11 21:46:06 -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
012102300d
Move the save_cpo lines higher
...
Somehow they drifted downwards. Fixes #56 .
2013-02-06 10:30:50 -08:00
Strahinja Val Markovic
e8a4caa561
Some initial minor MSVC support
2013-02-05 18:57:49 -08:00
Strahinja Val Markovic
8f6ebce42c
Documenting the show-full-diag-message command
2013-01-31 12:32:07 -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
9b3e009ed1
Mappings can now be easily remapped
2013-01-26 18:45:27 -08:00
Strahinja Val Markovic
43c94de3c2
Gracefully checking for ycm_core on load
...
If the user hasn't compiled ycm_core, then a warning message is printed out.
2013-01-21 17:34:49 -08:00
Strahinja Val Markovic
ca5fe75c67
Changing the default to not add 'preview'
...
This means that from now on, the 'preview' window will not be shown by default
to users for completions.
2013-01-14 20:45:55 -08:00
Strahinja Val Markovic
85d034f3e0
Adding more filetypes to ignore by default
2012-09-04 19:25:07 -07:00
Strahinja Val Markovic
0c17c49a66
Per-filetype turning off of filetype completion
...
So things like the ClangCompleter can be turned off fully and the user can rely
on identifier completion only.
2012-08-15 21:29:43 -07:00
Strahinja Val Markovic
dc2f52edbf
Adding a max_diagnostics_to_display user option
2012-08-15 20:58:21 -07:00
Strahinja Val Markovic
5a9d304c87
Option to auto-close preview window on select
...
The option defaults to off. Some people may find it useful.
2012-08-06 21:29:56 -07:00
Strahinja Val Markovic
15561b9f1e
Adding 'preview' to completeopt if not forbidden
...
The user can opt-out of this, but we set it by default since most people don't
know that the option exists. Those that are annoyed by it can just toggle an
option in their vimrc.
2012-08-05 19:55:06 -07:00
Strahinja Val Markovic
d0f62d1205
Initial, rough version of completer separation
...
We are trying to build a nice plugin-oriented architechure for loading varios
completer objects.
2012-08-04 17:46:54 -07:00
Strahinja Val Markovic
2888cbf5c8
Check for python on plugin init
2012-08-02 20:38:15 -07:00
Strahinja Val Markovic
287d01c8b3
Setting updatetime to 2000 if user allows
2012-08-02 20:32:29 -07:00
Strahinja Val Markovic
45cccd09ac
Refactored variable defaults setting
...
Now the all use the same style.
2012-08-02 20:28:25 -07:00
Strahinja Val Markovic
958a008462
Adding diagnostic extraction support
...
Next step is to add support to Syntastic so that it uses this new functionality
2012-07-28 15:27:30 -07:00
Strahinja Val Markovic
ac74389f4b
Grouping variable declarations
2012-07-26 13:04:49 -07:00
Strahinja Val Markovic
68156e8b47
Merge branch 'master' into dev
...
Conflicts:
autoload/youcompleteme.vim
2012-07-26 12:59:06 -07:00
Strahinja Val Markovic
cfede619f2
Added flag to turn off clang completion if desired
2012-07-23 11:15:25 -07:00
Strahinja Val Markovic
ad859ee002
Using the pyeval func introduced in vim 7.3.584
...
This makes the whole plugin much faster since we now don't need to serialize and
deserialize the return values from python funcs before we can use them in Vim.
Oh God I've been waiting for something like this for so long... using this also
forces us to demand vim 7.3.584 or higher.
2012-07-21 10:10:19 -07:00
Strahinja Val Markovic
be41be5323
Can now ignore filetypes plugin-wide
2012-07-16 14:44:50 -07:00
Strahinja Markovic
1a08eb9ce0
Updating copyright line
2012-04-15 20:28:46 -07:00
Strahinja Markovic
156a1882e1
Initial import
2012-04-15 16:57:10 -07:00