mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-16 15:09:50 +00:00
updates
This commit is contained in:
@@ -29,10 +29,6 @@ require('nvim-tree').setup({
|
||||
hint = '',
|
||||
},
|
||||
},
|
||||
update_to_buf_dir = {
|
||||
enable = true,
|
||||
auto_update = true,
|
||||
},
|
||||
update_focused_file = {
|
||||
enable = true,
|
||||
},
|
||||
@@ -42,7 +38,6 @@ require('nvim-tree').setup({
|
||||
--auto_close = true,
|
||||
hijack_netrw = true,
|
||||
update_cwd = true,
|
||||
focus_tree = false,
|
||||
open_on_setup = true,
|
||||
})
|
||||
|
||||
|
||||
@@ -1,14 +1,4 @@
|
||||
-- treesitter
|
||||
require('nvim-treesitter.configs').setup({
|
||||
ensure_installed = 'all', -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
ignore_install = { 'javascript' }, -- List of parsers to ignore installing
|
||||
highlight = {
|
||||
enable = true, -- false will disable the whole extension
|
||||
disable = {}, -- list of language that will be disabled
|
||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||
-- Instead of true it can also be a list of languages
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
ensure_installed = { 'rust', 'go', 'python', 'lua', 'c' }, -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
})
|
||||
|
||||
@@ -70,7 +70,7 @@ return require('packer').startup(function(use)
|
||||
end,
|
||||
})
|
||||
use('wakatime/vim-wakatime')
|
||||
use('psf/black')
|
||||
--use('psf/black')
|
||||
use({
|
||||
'preservim/nerdcommenter',
|
||||
config = function()
|
||||
@@ -122,18 +122,18 @@ return require('packer').startup(function(use)
|
||||
require('config.nvim-lsputils')
|
||||
end,
|
||||
})
|
||||
use({
|
||||
'github/copilot.vim',
|
||||
setup = function()
|
||||
vim.g.copilot_no_tab_map = 1
|
||||
vim.g.copilot_no_maps = 1
|
||||
vim.g.copilot_assume_mapped = 1
|
||||
end,
|
||||
config = function()
|
||||
local map = require('utils').map
|
||||
map('i', '<C-e>', 'copilot#Accept()', { expr = true })
|
||||
end,
|
||||
})
|
||||
--use({
|
||||
--'github/copilot.vim',
|
||||
--setup = function()
|
||||
--vim.g.copilot_no_tab_map = 1
|
||||
--vim.g.copilot_no_maps = 1
|
||||
--vim.g.copilot_assume_mapped = 1
|
||||
--end,
|
||||
--config = function()
|
||||
--local map = require('utils').map
|
||||
--map('i', '<C-e>', 'copilot#Accept()', { expr = true })
|
||||
--end,
|
||||
--})
|
||||
use({
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate',
|
||||
|
||||
Reference in New Issue
Block a user