summaryrefslogtreecommitdiffstats
path: root/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-01-10 14:40:42 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-01-10 14:40:42 -0800
commitc5adcdc5c88a89241b1150824fc44370c62c7132 (patch)
treef2047a0dedd6af9b305512603b0144d7614f7ffb /lldb/utils/vim-lldb/python-vim-lldb/plugin.py
parent7ce92dc0b4bcc1044052a06df3f07a94eb890823 (diff)
downloadbcm5719-llvm-c5adcdc5c88a89241b1150824fc44370c62c7132.tar.gz
bcm5719-llvm-c5adcdc5c88a89241b1150824fc44370c62c7132.zip
[lldb/Utils] Remove vim-lldb
The vim-lldb plugin is unmaintained and doesn't work with a recent vim installation that uses Python 3. This removes it from the LLDB repository. The code is still available under lldb-tools on GitHub like we did with for lldb-mi. (https://github.com/lldb-tools/vim-lldb) Differential revision: https://reviews.llvm.org/D72541
Diffstat (limited to 'lldb/utils/vim-lldb/python-vim-lldb/plugin.py')
-rw-r--r--lldb/utils/vim-lldb/python-vim-lldb/plugin.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lldb/utils/vim-lldb/python-vim-lldb/plugin.py b/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
deleted file mode 100644
index c59546c745c..00000000000
--- a/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
+++ /dev/null
@@ -1,16 +0,0 @@
-
-# Try to import all dependencies, catch and handle the error gracefully if
-# it fails.
-
-import import_lldb
-
-try:
- import lldb
- import vim
-except ImportError:
- sys.stderr.write(
- "Unable to load vim/lldb module. Check lldb is on the path is available (or LLDB is set) and that script is invoked inside Vim with :pyfile")
- pass
-else:
- # Everthing went well, so use import to start the plugin controller
- from lldb_controller import *
OpenPOWER on IntegriCloud