Merge branch 'main' of personalgit:d0zingcat/dotfiles

This commit is contained in:
Lee Tang
2023-03-02 10:57:45 +08:00
4 changed files with 9 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ local settings = {
require('lsp-setup').setup(settings)
require('lsp_signature').setup({})
-- require('lsp_signature').setup({})
require('lsp-colors').setup({})
local border = { '', '', '', '', '', '', '', '' }

View File

@@ -34,7 +34,9 @@ require('nvim-tree').setup({
update_root = true,
},
filters = {
custom = { '.git' }, -- ignore .git
custom = {
'.git$'
},
},
--auto_close = true,
hijack_netrw = true,

View File

@@ -1,7 +1,8 @@
local ncmd = vim.api.nvim_command
require('nvim-treesitter.configs').setup({
ensure_installed = { 'c', 'lua', 'rust', 'go', 'python', 'zig', 'markdown', 'solidity', 'jsonnet', 'vim' },
ensure_installed = { 'c', 'lua', 'rust', 'go', 'python', 'zig', 'markdown', 'solidity', 'jsonnet', 'vim',
'javascript', 'typescript' },
highlight = {
enable = true,
},

View File

@@ -202,6 +202,7 @@ return require('packer').startup(function(use)
require('config.tagbar')
end,
})
-- BETTER editor
use({
'vinnymeller/swagger-preview.nvim',
@@ -236,17 +237,8 @@ return require('packer').startup(function(use)
'p00f/clangd_extensions.nvim',
},
})
--use({
--'neovim/nvim-lspconfig',
--})
--use({
--'williamboman/nvim-lsp-installer',
--config = function()
--require('config.nvim-lsp-installer')
--end,
--})
-- k8s
use('andrewstuart/vim-kubernetes')
-- use('andrewstuart/vim-kubernetes')
-- go
use({
@@ -260,12 +252,10 @@ return require('packer').startup(function(use)
use('vim-erlang/vim-erlang-tags')
use('iamcco/mathjax-support-for-mkdp')
--beancount
use('nathangrigg/vim-beancount')
-- use('nathangrigg/vim-beancount')
-- python
use('Vimjas/vim-python-pep8-indent')
-- rust
use('rust-lang/rust.vim')
use('mfussenegger/nvim-dap')
end)
-- require("todo-comments").setup {}