This commit is contained in:
Joey Yakimowich-Payne 2023-05-31 09:49:49 -06:00
commit 440a3d2114
No known key found for this signature in database
GPG key ID: CC55F39D665E964D
2 changed files with 8 additions and 6 deletions

View file

@ -101,7 +101,7 @@ let mapleader = "\<Space>"
let maplocalleader = "\<Space>" let maplocalleader = "\<Space>"
let g:syntastic_c_compiler_options = "-std=c99" let g:syntastic_c_compiler_options = "-std=c99"
set guicursor= set guicursor=v-c-sm:block,n-i-ci-ve:ver25,r-cr-o:hor20
" inoremap vmark ✓ " inoremap vmark ✓
@ -568,6 +568,7 @@ endif
nnoremap <silent> K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR> nnoremap <silent> K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR>
set switchbuf+=usetab,newtab set switchbuf+=usetab,newtab
autocmd FileType rescript nnoremap <silent> <buffer> <localleader>r :RescriptFormat<CR> autocmd FileType rescript nnoremap <silent> <buffer> <localleader>r :RescriptFormat<CR>
autocmd FileType rescript nnoremap <silent> <buffer> <localleader>t :RescriptTypeHint<CR> autocmd FileType rescript nnoremap <silent> <buffer> <localleader>t :RescriptTypeHint<CR>
autocmd FileType rescript nnoremap <silent> <buffer> <localleader>b :RescriptBuild<CR> autocmd FileType rescript nnoremap <silent> <buffer> <localleader>b :RescriptBuild<CR>
@ -575,8 +576,6 @@ autocmd FileType rescript nnoremap <silent> <buffer> gd :RescriptJumpToDefinitio
let g:asyncomplete_auto_completeopt=0 let g:asyncomplete_auto_completeopt=0
" Set internal encoding of vim, not needed on neovim, since coc.nvim using some " Set internal encoding of vim, not needed on neovim, since coc.nvim using some
" unicode characters in the file autoload/float.vim " unicode characters in the file autoload/float.vim
set encoding=utf-8 set encoding=utf-8
@ -858,7 +857,7 @@ EOF
lua << EOF lua << EOF
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the four listed parsers should always be installed) -- A list of parser names, or "all" (the four listed parsers should always be installed)
ensure_installed = { "c", "lua", "vim", "help", "go" }, ensure_installed = { "c", "lua", "vim", "help", "go", "python" },
-- Install parsers synchronously (only applied to `ensure_installed`) -- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false, sync_install = false,
@ -880,7 +879,7 @@ require'nvim-treesitter.configs'.setup {
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is -- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
-- the name of the parser) -- the name of the parser)
-- list of language that will be disabled -- list of language that will be disabled
disable = { }, disable = { "python", "nim" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- 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). -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
@ -1055,3 +1054,5 @@ nmap <F1> :CocCommand java.debug.vimspector.start<CR>
" Nim: replace comment above with comment below " Nim: replace comment above with comment below
let @t = '/^proc ?^\_[\n]## V/\_[€kbkbkb^\_[\n\€kb]prckboc m/\.} pdd' let @t = '/^proc ?^\_[\n]## V/\_[€kbkbkb^\_[\n\€kb]prckboc m/\.} pdd'
let &t_SI = "\e[5 q"
let &t_EI = "\e[2 q"

View file

@ -12,7 +12,8 @@
set-option -s default-terminal "tmux-256color" set-option -s default-terminal "tmux-256color"
set-option -sa terminal-overrides ",xterm-256color:RGB" set-option -sa terminal-overrides ",xterm-256color:RGB"
set-option -sa terminal-overrides ",xterm-255color*:Tc" set-option -sa terminal-overrides ",xterm-255color*:Tc"
set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' set -ga terminal-overrides ',*:Tc'
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
# Default terminal is 256 colors # Default terminal is 256 colors
#set -g default-terminal "screen-256color" # colors! #set -g default-terminal "screen-256color" # colors!