mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Fix typo
This commit is contained in:
parent
d3ee056f96
commit
c1ba7af97e
@ -56,6 +56,7 @@ local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
|
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
|
||||||
lspconfig.pyls.setup{
|
lspconfig.pyls.setup{
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
settings = {
|
settings = {
|
||||||
@ -156,7 +157,7 @@ require'compe'.setup {
|
|||||||
|
|
||||||
vim.o.completeopt = "menuone,noselect"
|
vim.o.completeopt = "menuone,noselect"
|
||||||
|
|
||||||
-- nvim-comple mappings
|
-- nvim-compe mappings
|
||||||
vim.api.nvim_set_keymap('i', '<C-Space>', 'compe#complete()', {expr = true})
|
vim.api.nvim_set_keymap('i', '<C-Space>', 'compe#complete()', {expr = true})
|
||||||
vim.api.nvim_set_keymap('i', '<CR>', "compe#confirm('<CR>')", {expr = true})
|
vim.api.nvim_set_keymap('i', '<CR>', "compe#confirm('<CR>')", {expr = true})
|
||||||
vim.api.nvim_set_keymap('i', '<ESC>', "compe#close('<ESC>')", {expr = true})
|
vim.api.nvim_set_keymap('i', '<ESC>', "compe#close('<ESC>')", {expr = true})
|
||||||
|
|||||||
@ -22,7 +22,7 @@ require('packer').startup(
|
|||||||
|
|
||||||
-- Python syntax highlighting and more
|
-- Python syntax highlighting and more
|
||||||
if (vim.g.is_mac == 1) or (vim.g.is_win == 1) then
|
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', ft = 'python'}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Python indent (follows the PEP8 style)
|
-- Python indent (follows the PEP8 style)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user