update plugins and settings

+ kommemtary
+ rescript
This commit is contained in:
nganhkhoa 2021-04-20 17:45:02 +07:00
parent bd3bfa42aa
commit 9de08eabe5
4 changed files with 18 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
lc.log
lua/*.lua
!lua/plugins.lua
plugin/

View File

@ -46,6 +46,12 @@
(set nvim.o.expandtab true)
(set nvim.bo.expandtab true)
(set nvim.o.breakindent true)
(set nvim.wo.breakindent true)
(set nvim.o.linebreak true)
(set nvim.wo.linebreak true)
(set nvim.o.number true)
(set nvim.wo.number true)

View File

@ -3,3 +3,7 @@ vim.g['aniseed#env'] = true
vim.g.polyglot_disabled = {"markdown", "javascript"}
require('plugins')
require('kommentary.config').configure_language("default", {
prefer_single_line_comments = true,
})

View File

@ -48,10 +48,12 @@ packer.startup(function(use)
use 'kana/vim-operator-user'
use 'rhysd/vim-operator-surround'
use 'chaoren/vim-wordmotion'
use 'b3nj5m1n/kommentary'
use 'nelstrom/vim-visual-star-search'
use 'wakatime/vim-wakatime'
use 'sheerun/vim-polyglot'
use 'rescript-lang/vim-rescript'
end)