nvim: messing around
This commit is contained in:
parent
f5358bdf35
commit
a07bd72c54
2 changed files with 16 additions and 18 deletions
|
@ -26,4 +26,10 @@ map ,H :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
|
|||
\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
|
||||
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
||||
|
||||
function! SynGroup()
|
||||
let l:s = synID(line('.'), col('.'), 1)
|
||||
echo synIDattr(l:s, 'name') . ' -> ' . synIDattr(synIDtrans(l:s), 'name')
|
||||
endfun
|
||||
map ,J :call SynGroup()<CR>
|
||||
|
||||
map ,L :luafile %<CR>
|
||||
|
|
|
@ -49,6 +49,7 @@ return require('packer').startup(function()
|
|||
end
|
||||
end
|
||||
|
||||
utils.mapx("is", "<C-.>", "v:lua.complete('<C-n>', '<Tab>')")
|
||||
utils.mapx("is", "<C-Space>", "v:lua.complete('<C-n>', '<Tab>')")
|
||||
utils.mapx("is", "<Tab>", "v:lua.complete('<C-n>', '<Tab>')")
|
||||
utils.mapx("is", "<S-Tab>", "v:lua.complete('<C-p>', '<C-h>')")
|
||||
|
@ -186,23 +187,14 @@ return require('packer').startup(function()
|
|||
}
|
||||
|
||||
-- use {
|
||||
-- "marko-cerovac/material.nvim",
|
||||
-- config = function()
|
||||
-- vim.g.material_style = 'lighter'
|
||||
-- vim.g.material_lighter_contrast = true
|
||||
-- require('material').set()
|
||||
-- end
|
||||
-- "cuducos/yaml.nvim",
|
||||
-- ft = {"yaml"},
|
||||
-- requires = {
|
||||
-- "nvim-treesitter/nvim-treesitter",
|
||||
-- -- "nvim-telescope/telescope.nvim" -- optional
|
||||
-- },
|
||||
-- config = function ()
|
||||
-- require("yaml_nvim").init()
|
||||
-- end
|
||||
-- }
|
||||
|
||||
use {
|
||||
"cuducos/yaml.nvim",
|
||||
ft = {"yaml"},
|
||||
requires = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
-- "nvim-telescope/telescope.nvim" -- optional
|
||||
},
|
||||
config = function ()
|
||||
require("yaml_nvim").init()
|
||||
end
|
||||
}
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue