Commit Graph

80 Commits

Author SHA1 Message Date
Strahinja Val Markovic
005175d3f3 Filetype whitelist option added.
Also renaming the filetype blacklist option for the sake of symmetry.
Fixes #178.
2013-03-09 20:32:31 -08:00
Strahinja Val Markovic
c46b9c6b31 Removing outdated sentence from the README 2013-03-08 22:44:23 -08:00
Strahinja Val Markovic
a6e83bfe76 Smart-case sensitive filtering
Fixes #120
2013-03-01 22:18:43 -08:00
Strahinja Val Markovic
67bf88b726 Minor rewording in the README 2013-02-28 09:57:56 -08:00
Strahinja Val Markovic
aafcd4264d Merge branch 'globlist' of github.com:kljohann/YouCompleteMe into kljohann-globlist
Conflicts:
	python/completers/cpp/flags.py
2013-02-28 09:51:38 -08:00
Val Markovic
c24d272df6 Merge pull request #155 from kljohann/reload
Implement completer-specific commands
2013-02-28 09:49:11 -08:00
Johann Klähn
1d566bad80 Implement white-/blacklisting 2013-02-28 18:15:09 +01:00
Johann Klähn
3d305f9c74 Implement completer-specific commands
This provides a framework for completer-writers to create
completer-specific commands. I have in mind to use this for the clang
completer to force reloading of a flags module via `:YcmCompleter reload`.
2013-02-28 11:32:07 +01:00
Strahinja Val Markovic
263b405ab4 Very minor post-pull style-related changes. 2013-02-26 18:28:58 -08:00
Strahinja Val Markovic
95b9eeee18 Merge branch 'master' of github.com:kljohann/YouCompleteMe into kljohann-master 2013-02-26 18:21:46 -08: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
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