1
0

Compare commits

..

19 Commits

Author SHA1 Message Date
9f67c16187 Remove trailing nonsense. 2025-11-26 11:04:37 +01:00
740e378a93 Run CheckBackspace before expandableOrJumpable(). 2025-11-24 14:36:55 +01:00
f9315e5aaf Merge branch 'master' into babel 2025-11-18 08:27:24 +01:00
6ab3026ae1 Remove temporary storage_file.
This is related to the following issue: https://github.com/neoclide/coc.nvim/issues/5469
2025-11-16 15:44:50 +01:00
a242455732 Merge branch 'master' into babel 2025-11-13 08:37:02 +01:00
28c0e1cc0d Add CoC GoTo code navigation. 2025-11-13 08:20:10 +01:00
f237920714 Add CoC renaming bind. 2025-11-13 08:18:06 +01:00
7242d257d0 Set a scrolloff. 2025-11-07 13:54:40 +01:00
21d0beb2d9 Merge branch 'master' into babel 2025-10-24 08:49:20 +02:00
1d7d4d0146 Merge branch 'master' into babel 2025-10-22 08:16:59 +02:00
1b4ebe2c7c Merge branch 'master' into babel 2025-10-17 13:16:03 +02:00
e33e6f476d Set colorscheme 2025-04-03 10:31:54 +02:00
8b66bc02b8 Fix theme 2025-04-02 09:11:15 +02:00
c10ba7c8a8 Theme update. 2025-04-02 09:11:15 +02:00
f7a88e4431 Merge branch 'master' into babel 2025-03-31 14:37:41 +02:00
be250e2d9c Merge branch 'master' into babel 2024-10-11 12:56:10 +02:00
c6d32f2b0f Fix path to fzf plugin. 2024-06-11 10:28:07 +02:00
58eea72762 Use spaces (for work). 2024-06-04 11:05:37 +02:00
d508759e33 Enable bash-language-server manually. 2024-06-04 11:05:29 +02:00
2 changed files with 19 additions and 9 deletions

View File

@@ -8,6 +8,11 @@
"latex": { "latex": {
"command": "/sbin/texlab", "command": "/sbin/texlab",
"filetypes": [ "tex","bib","plaintex","context" ] "filetypes": [ "tex","bib","plaintex","context" ]
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh","bash"]
}, },
"golang": { "golang": {
"command": "gopls", "command": "gopls",

View File

@@ -30,7 +30,7 @@ filetype plugin on
" indentation " indentation
set tabstop=4 " tabs only count for 4 spaces set tabstop=4 " tabs only count for 4 spaces
set shiftwidth=4 " when indenting use 4 spaces set shiftwidth=4 " when indenting use 4 spaces
set noexpandtab " use tab characters set expandtab " use tab characters
set autoindent set autoindent
" view " view
@@ -59,13 +59,13 @@ endfunction
inoremap <silent><expr> <TAB> inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) : \ coc#pum#visible() ? coc#pum#next(1) :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ CheckBackspace() ? "\<Tab>" : \ CheckBackspace() ? "\<Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ coc#refresh() \ coc#refresh()
inoremap <silent><expr> <S-TAB> inoremap <silent><expr> <S-TAB>
\ coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>" \ coc#pum#visible() ? coc#pum#prev(1) :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ CheckBackspace() ? "\<S-Tab>" : \ CheckBackspace() ? "\<S-Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ coc#refresh() \ coc#refresh()
let g:coc_disable_startup_warning = 1 let g:coc_disable_startup_warning = 1
@@ -90,9 +90,14 @@ nmap <silent> [g <Plug>(coc-diagnostic-prev)
nmap <silent> ]g <Plug>(coc-diagnostic-next) nmap <silent> ]g <Plug>(coc-diagnostic-next)
nmap <silent> ]f <Plug>(coc-fix-current) nmap <silent> ]f <Plug>(coc-fix-current)
" Temporary!!! Remove after CoC update " Symbol renaming
let storage_file = stdpath('data') . '/coc-localstorage' nmap <leader>rn <Plug>(coc-rename)
let g:coc_node_args = ['--localstorage-file=' . storage_file]
" GoTo code navigation
nmap <silent><nowait> gd <Plug>(coc-definition)
nmap <silent><nowait> gy <Plug>(coc-type-definition)
nmap <silent><nowait> gi <Plug>(coc-implementation)
nmap <silent><nowait> gr <Plug>(coc-references)
" syntax highlighting " syntax highlighting
syntax on syntax on