1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Tweak lua stuff

This commit is contained in:
jdhao 2021-04-14 02:14:35 +08:00
parent b8329b9698
commit 20619c8c8e
3 changed files with 11 additions and 1 deletions

View File

@ -312,7 +312,7 @@ call utils#Cabbrev('pc', 'PlugClean')
"}}
"{{ Auto-completion related
lua require('lsp')
lua require('entrance')
"""""""""""""""""""""""""UltiSnips settings"""""""""""""""""""
" Trigger configuration. Do not use <tab> if you use YouCompleteMe

5
lua/entrance.lua Normal file
View File

@ -0,0 +1,5 @@
-- Some utility stuff
require 'utils'
-- LSP stuff
require 'lsp'

5
lua/utils.lua Normal file
View File

@ -0,0 +1,5 @@
-- inspect something
-- Taken from https://github.com/jamestthompson3/vimConfig/blob/eeef4a8eeb5a24938f8a0969a35f69c78643fb66/lua/tt/nvim_utils.lua#L106
function inspect(item)
print(vim.inspect(item))
end