sync
This commit is contained in:
@@ -39,6 +39,7 @@ local lsp_confs = {
|
||||
ccls = {},
|
||||
pyright = {},
|
||||
gopls = {},
|
||||
dartls = {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ o.viminfo = ""
|
||||
-- why viminfo not work
|
||||
o.expandtab = true
|
||||
o.tabstop = 4
|
||||
o.shiftwidth = 0
|
||||
o.viminfo = ''
|
||||
vim.g.base16colorspace = 256
|
||||
o.termguicolors = true
|
||||
|
||||
+18
-1
@@ -44,12 +44,27 @@ return require('packer').startup({function(use)
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
'akinsho/flutter-tools.nvim',
|
||||
requires = {
|
||||
'nvim-lua/plenary.nvim'
|
||||
},
|
||||
config = function()
|
||||
require('flutter-tools').setup{
|
||||
lsp = {
|
||||
color = {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
'numToStr/Comment.nvim',
|
||||
config = function()
|
||||
local map = vim.api.nvim_set_keymap
|
||||
require('Comment').setup({})
|
||||
|
||||
map('n', '<C-_>',
|
||||
'<Cmd>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>',
|
||||
{noremap = true, silent = true})
|
||||
@@ -122,6 +137,7 @@ return require('packer').startup({function(use)
|
||||
vim.g.Tex_ShowErrorContext = 0
|
||||
end,
|
||||
}
|
||||
|
||||
use {
|
||||
'iamcco/markdown-preview.nvim',
|
||||
run = "cd app && npm install",
|
||||
@@ -138,6 +154,7 @@ return require('packer').startup({function(use)
|
||||
if bootstrap.is_bootstrap then
|
||||
require('packer').sync()
|
||||
end
|
||||
|
||||
end,
|
||||
config = {
|
||||
compile_path = require('packer.util').join_paths(vim.fn.stdpath('data'), 'site', 'plugin', 'packer_compiled.lua'),
|
||||
|
||||
Reference in New Issue
Block a user