aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-09 01:33:09 +0800
committerjdhao <jdhao@hotmail.com>2021-07-09 01:37:02 +0800
commit11866454ccfbfe40eca4dad9f6fedfb060872e5f (patch)
tree322a95314d1834a18970eb225a760825094319db /lua/plugins.lua
parent51264eab77e9bddbc9f20ccecc95623cb94f9e6e (diff)
Ppdate packer settings for Semshi
If Semshi is set to opt plugin, when we run PackerUpdate, the command `: UpdateRemotePlugins` will be run. At this time, Semshi is not in the runtimepath, so its manifest will not be generated in rplugin.vim (located under ~/.local/share/nvim/rplugin.vim). So when we open a Python file afterwards, although Semshi is in runtimepath, but its manifest is missing, so we see error that command `Semshi enable` is not found.
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 393c88a..a7fde82 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -34,7 +34,7 @@ require('packer').startup(
-- Python syntax highlighting and more
if (vim.g.is_mac == 1) or (vim.g.is_win == 1) then
- use {'numirias/semshi', run = ':UpdateRemotePlugins', ft = 'python'}
+ use {'numirias/semshi', run = ':UpdateRemotePlugins'}
end
-- Python indent (follows the PEP8 style)