diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5ad4578..4bba44f 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -44,33 +44,30 @@ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'folke/tokyonight.nvim', { 'branch': 'main' } Plug 'folke/trouble.nvim' Plug 'nvim-lualine/lualine.nvim' -" Plug 'kyazdani42/nvim-web-devicons' Plug 'nvim-tree/nvim-web-devicons' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' Plug 'lukas-reineke/indent-blankline.nvim' -Plug 'tpope/vim-eunuch' +" Plug 'tpope/vim-eunuch' " CTRL+X /, SPACE, ENTER -Plug 'tpope/vim-ragtag' -Plug 'tpope/vim-surround' -Plug 'tpope/vim-unimpaired' +" Plug 'tpope/vim-ragtag' +" Plug 'tpope/vim-surround' +" Plug 'tpope/vim-unimpaired' " Switch single lines -nmap [e -nmap ]e +" nmap [e +" nmap ]e " Switch multiple lines -vmap [egv -vmap ]egv +" vmap [egv +" vmap ]egv " vim sessions Plug 'tpope/vim-obsession' Plug 'tpope/vim-commentary' +autocmd FileType dart setlocal commentstring=/\/\ %s Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'L3MON4D3/LuaSnip' Plug 'saadparwaiz1/cmp_luasnip' Plug 'neovim/nvim-lspconfig' -" Plug 'williamboman/nvim-lsp-installer' -Plug 'williamboman/mason.nvim' -Plug 'williamboman/mason-lspconfig.nvim' Plug 'folke/todo-comments.nvim' " maybe have a look at neotest " Plug 'vim-test/vim-test' @@ -81,6 +78,7 @@ Plug 'folke/todo-comments.nvim' " Plug 'andythigpen/nvim-coverage' Plug 'kdheepak/lazygit.nvim' Plug 'https://github.com/github/copilot.vim' +Plug 'lewis6991/gitsigns.nvim' call plug#end() set path+=** @@ -160,8 +158,40 @@ lua < https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#dartls +lspconfig.dartls.setup{} + local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } for type, icon in pairs(signs) do local hl = "DiagnosticSign" .. type