This commit is contained in:
nganhkhoa 2021-05-05 00:28:45 +07:00
parent e6b8cb69c8
commit 60a51b9b10
2 changed files with 19 additions and 1 deletions

View File

@ -1,6 +1,16 @@
vim.g['aniseed#env'] = true
vim.g.polyglot_disabled = {"markdown", "javascript"}
vim.g.polyglot_disabled = {"markdown", "javascript", "perl"}
vim.cmd([[
au! BufRead,BufNewFile,BufWritePost *.pm set filetype=pollen
au! BufRead,BufNewFile,BufWritePost *.pp set filetype=pollen
au! BufRead,BufNewFile,BufWritePost *.ptree set filetype=pollen
" Suggested editor settings:
" autocmd FileType pollen setlocal wrap " Soft wrap (don't affect buffer)
" autocmd FileType pollen setlocal linebreak " Wrap on word-breaks only
]])
require('plugins')

View File

@ -1,5 +1,11 @@
local packer = require('packer')
packer.init({
git = {
clone_timeout = 120, -- Timeout, in seconds, for git clones
}
})
packer.startup(function(use)
use 'wbthomason/packer.nvim'
use 'Olical/aniseed'
@ -39,6 +45,7 @@ packer.startup(function(use)
end
}
use 'junegunn/goyo.vim'
use 'Yggdroot/indentLine'
use 'ntpeters/vim-better-whitespace'
use 'valloric/matchtagalways'
@ -59,6 +66,7 @@ packer.startup(function(use)
use 'sheerun/vim-polyglot'
use 'rescript-lang/vim-rescript'
use 'otherjoel/vim-pollen'
use {
'autozimu/LanguageClient-neovim',