minor changes
This commit is contained in:
parent
7e32c663ac
commit
6623f18e1f
3 changed files with 31 additions and 1 deletions
29
init.lua
29
init.lua
|
@ -28,6 +28,9 @@ g.auto_save = 1
|
|||
|
||||
g.indentLine_enabled = 1
|
||||
g.indentLine_char_list = {'▏'}
|
||||
g.mapleader = "b"
|
||||
g.maplocalleader = "b"
|
||||
|
||||
|
||||
require('treesitter.lua')
|
||||
require('mappings.lua')
|
||||
|
@ -46,3 +49,29 @@ cmd("highlight NvimTreeFolderIcon guifg = #61afef")
|
|||
cmd("highlight NvimTreeFolderName guifg = #61afef")
|
||||
|
||||
require('nvim-autopairs').setup()
|
||||
|
||||
require('lspkind').init({
|
||||
-- with_text = true,
|
||||
-- symbol_map = {
|
||||
-- Text = '',
|
||||
-- Method = 'ƒ',
|
||||
-- Function = '',
|
||||
-- Constructor = '',
|
||||
-- Variable = '',
|
||||
-- Class = '',
|
||||
-- Interface = 'ﰮ',
|
||||
-- Module = '',
|
||||
-- Property = '',
|
||||
-- Unit = '',
|
||||
-- Value = '',
|
||||
-- Enum = '了',
|
||||
-- Keyword = '',
|
||||
-- Snippet = '',
|
||||
-- Color = '',
|
||||
File = ' ',
|
||||
-- Folder = '',
|
||||
-- EnumMember = '',
|
||||
-- Constant = '',
|
||||
-- Struct = ''
|
||||
-- },
|
||||
})
|
||||
|
|
|
@ -7,4 +7,4 @@ end
|
|||
-- keybind list
|
||||
|
||||
map('', '<leader>c', '"+y')
|
||||
--map('' , '<C-a>' , '%y+')
|
||||
map('' , '<leader>uu' , 'Neoformat')
|
||||
|
|
|
@ -21,4 +21,5 @@ return require('packer').startup(function()
|
|||
use { 'windwp/nvim-autopairs'}
|
||||
use { 'alvan/vim-closetag'}
|
||||
use { 'tweekmonster/startuptime.vim'}
|
||||
use {'onsails/lspkind-nvim'}
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue