update
This commit is contained in:
parent
e6b8cb69c8
commit
60a51b9b10
12
init.lua
12
init.lua
@ -1,6 +1,16 @@
|
|||||||
vim.g['aniseed#env'] = true
|
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')
|
require('plugins')
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
local packer = require('packer')
|
local packer = require('packer')
|
||||||
|
|
||||||
|
packer.init({
|
||||||
|
git = {
|
||||||
|
clone_timeout = 120, -- Timeout, in seconds, for git clones
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
packer.startup(function(use)
|
packer.startup(function(use)
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
use 'Olical/aniseed'
|
use 'Olical/aniseed'
|
||||||
@ -39,6 +45,7 @@ packer.startup(function(use)
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use 'junegunn/goyo.vim'
|
||||||
use 'Yggdroot/indentLine'
|
use 'Yggdroot/indentLine'
|
||||||
use 'ntpeters/vim-better-whitespace'
|
use 'ntpeters/vim-better-whitespace'
|
||||||
use 'valloric/matchtagalways'
|
use 'valloric/matchtagalways'
|
||||||
@ -59,6 +66,7 @@ packer.startup(function(use)
|
|||||||
|
|
||||||
use 'sheerun/vim-polyglot'
|
use 'sheerun/vim-polyglot'
|
||||||
use 'rescript-lang/vim-rescript'
|
use 'rescript-lang/vim-rescript'
|
||||||
|
use 'otherjoel/vim-pollen'
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'autozimu/LanguageClient-neovim',
|
'autozimu/LanguageClient-neovim',
|
||||||
|
Loading…
Reference in New Issue
Block a user