commit c4a1a31654be9c1424a117a397bdf67d3acad885
parent 726c6b36344a8013af8912e76c9ba34638a1a990
Author: Tomas Nemec <nemi@skaut.cz>
Date: Tue, 28 Mar 2023 16:54:37 +0200
update
Diffstat:
5 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/after/plugin/ng_html.lua b/after/plugin/ng_html.lua
@@ -1,5 +1,5 @@
-- TODO(tms) 06.09.22: Handle single line template string
-local template_query = vim.treesitter.parse_query('dart', [[
+local template_query = vim.treesitter.query.parse_query('dart', [[
(annotation
(arguments
(named_argument
diff --git a/init.lua b/init.lua
@@ -1,7 +1,7 @@
vim.g.mapleader = ','
vim.g.loaded_matchparen = 1
+vim.loader.enable()
require('tms.first_load')
-require('impatient')
vim.cmd.colorscheme('base16')
require('tms.options')
require('tms.keymap')
diff --git a/lua/plugins.lua b/lua/plugins.lua
@@ -14,7 +14,6 @@ return packer.startup({
-- meta
use 'tweekmonster/startuptime.vim'
- use 'lewis6991/impatient.nvim'
use 'MunifTanjim/exrc.nvim'
-- colorscheme
diff --git a/lua/tms/first_load.lua b/lua/tms/first_load.lua
@@ -18,5 +18,4 @@ local start = function(repo)
end
opt('wbthomason/packer.nvim')
-start('lewis6991/impatient.nvim')
start('tjdevries/colorbuddy.nvim')
diff --git a/lua/tms/options.lua b/lua/tms/options.lua
@@ -4,7 +4,8 @@ vim.opt.completeopt = 'menu,menuone,noselect'
-- vim.opt.equalalways = false -- exp
vim.opt.grepprg = 'rg --vimgrep --no-heading --smart-case'
vim.opt.grepformat = '%f:%l:%c:%m'
-vim.opt.formatoptions:append{ 'o', 'r' }
+vim.opt.formatoptions:append('o')
+vim.opt.formatoptions:append('r')
vim.opt.ignorecase = true -- use `/C` to force case
vim.opt.inccommand = 'split'
vim.opt.pumheight = 5