This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"============================================================================= | |
" FILE: neomru.vim | |
" AUTHOR: Zhao Cai <caizhaoff@gmail.com> | |
" Shougo Matsushita <Shougo.Matsu at gmail.com> | |
" License: MIT license {{{ | |
" Permission is hereby granted, free of charge, to any person obtaining | |
" a copy of this software and associated documentation files (the | |
" "Software"), to deal in the Software without restriction, including | |
" without limitation the rights to use, copy, modify, merge, publish, | |
" distribute, sublicense, and/or sell copies of the Software, and to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================= | |
# FILE: buffer.py | |
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> | |
# License: MIT license {{{ | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to | |
# permit persons to whom the Software is furnished to do so, subject to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r ee39b0c5d55e runtime/doc/options.txt | |
--- a/runtime/doc/options.txt Wed Jun 10 12:16:47 2015 +0200 | |
+++ b/runtime/doc/options.txt Fri Jun 12 11:53:31 2015 +0900 | |
@@ -1819,6 +1819,14 @@ | |
completion in the preview window. Only works in | |
combination with "menu" or "menuone". | |
+ noinsert Do not insert any text for a match until the user selects | |
+ a match from the menu. Only works in combination with "menu" | |
+ or "menuone". No effect if "longest" is present. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================= | |
# FILE: neosnippet.py | |
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> | |
# License: MIT license {{{ | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to | |
# permit persons to whom the Software is furnished to do so, subject to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================= | |
# FILE: __init__.py | |
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> | |
# License: MIT license {{{ | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to | |
# permit persons to whom the Software is furnished to do so, subject to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================= | |
# FILE: base.py | |
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> | |
# License: MIT license {{{ | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to | |
# permit persons to whom the Software is furnished to do so, subject to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
nosetests -v rplugin/python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nvim/edit.c b/src/nvim/edit.c | |
index d361682..9fcc7f4 100644 | |
--- a/src/nvim/edit.c | |
+++ b/src/nvim/edit.c | |
@@ -2250,7 +2250,14 @@ void set_completion(colnr_T startcol, list_T *list) | |
compl_cont_status = 0; | |
compl_curr_match = compl_first_match; | |
- ins_complete(Ctrl_N); | |
+ if (compl_no_insert) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================= | |
# FILE: __init__.py | |
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> | |
# License: MIT license {{{ | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to | |
# permit persons to whom the Software is furnished to do so, subject to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local helpers = require('test.functional.helpers') | |
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute | |
local eval, eq, neq = helpers.eval, helpers.eq, helpers.neq | |
local execute, source = helpers.execute, helpers.source | |
describe("completion", function() | |
before_each(function() | |
clear() | |
end) |