This commit is contained in:
Lee Tang
2022-03-28 15:30:50 +08:00
parent 6867a64a0e
commit be54aaeeaf
2 changed files with 1 additions and 14 deletions

View File

@@ -153,8 +153,6 @@ map('i', '<F1>', '<nop>')
-- map('n', '<leader>e', '1<c-w>w')
-- map('n', '<leader>p', ':wincmd p<CR>')
--" Plug 'airblade/vim-gitgutter'
map('i', '<C-e>', 'copilot#Accept()', { expr = true })
vim.g.copilot_no_tab_map = 1
vim.g.copilot_no_maps = 1
@@ -162,23 +160,11 @@ vim.g.copilot_assume_mapped = 1
require('plugins')
-- Plug settings
-- map("n", "<space>e", ":NvimTreeToggle<CR>", {noremap = false})
-- map("n", "<space>R", ":NvimTreeRefresh<CR>", {noremap = false})
-- Neoformat
if not fn.executable('luafmt') then
cmd([[ :!npm install -g lua-fmt]])
end
-- todo-comments
-- require("todo-comments").setup {}
-- spaceline
g['spaceline_seperate_style'] = 'arrow'
g['spaceline_colorscheme'] = 'one'
-- barbar
local opts = { noremap = true, silent = true }
map('n', '=', ':BufferPick<CR>', opts)

View File

@@ -5,6 +5,7 @@ return {
schemas = {
['https://json.schemastore.org/github-workflow.json'] = '/.github/workflows/*',
Kubernetes = { '/*k8s.yaml', '/*k8s.yml' },
--['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml',
},
},
},