|
@ -11,13 +11,7 @@ syntax on |
|
|
lua << EOF |
|
|
lua << EOF |
|
|
vim.o.background = 'dark' |
|
|
vim.o.background = 'dark' |
|
|
require('solarized').setup { |
|
|
require('solarized').setup { |
|
|
-- theme = 'neo'; |
|
|
|
|
|
theme = 'default'; |
|
|
theme = 'default'; |
|
|
-- highlights = function (colors, colorhelper) |
|
|
|
|
|
-- return { |
|
|
|
|
|
-- " Folded = { underline = false, fg = colors.base3, bg = colors.base03 } |
|
|
|
|
|
-- } |
|
|
|
|
|
-- end |
|
|
|
|
|
} |
|
|
} |
|
|
vim.cmd("colorscheme solarized") |
|
|
vim.cmd("colorscheme solarized") |
|
|
EOF |
|
|
EOF |
|
@ -36,8 +30,6 @@ Plug 'tpope/vim-commentary' |
|
|
Plug 'tpope/vim-fugitive' |
|
|
Plug 'tpope/vim-fugitive' |
|
|
Plug 'tpope/vim-surround' |
|
|
Plug 'tpope/vim-surround' |
|
|
Plug 'github/copilot.vim', {'branch': 'release'} |
|
|
Plug 'github/copilot.vim', {'branch': 'release'} |
|
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} |
|
|
|
|
|
Plug 'neovim/nvim-lspconfig' |
|
|
|
|
|
|
|
|
|
|
|
call plug#end() |
|
|
call plug#end() |
|
|
|
|
|
|
|
@ -156,25 +148,3 @@ augroup dirvish_config |
|
|
\ | nmap <silent><buffer> p <Plug>(dovish_copy) |
|
|
\ | nmap <silent><buffer> p <Plug>(dovish_copy) |
|
|
|
|
|
|
|
|
augroup END |
|
|
augroup END |
|
|
|
|
|
|
|
|
" Enable Treesitter |
|
|
|
|
|
lua << EOF |
|
|
|
|
|
require'nvim-treesitter.configs'.setup { |
|
|
|
|
|
ensure_installed = { |
|
|
|
|
|
"javascript", |
|
|
|
|
|
"python", |
|
|
|
|
|
}, |
|
|
|
|
|
highlight = { |
|
|
|
|
|
enable = true, |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
" Enable LSP |
|
|
|
|
|
lua << EOF |
|
|
|
|
|
local lspconfig = require('lspconfig') |
|
|
|
|
|
lspconfig.gopls.setup{} |
|
|
|
|
|
lspconfig.jedi_language_server.setup{} |
|
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
let g:gsed_command = '/Users/gl6/.homebrew/bin/gsed' |
|
|
|
|
|