Small updates

2d7e44d3967c6f5b410a10f4fdf0ae9aaaa7a5c7
Alexis Sellier committed ago 1 parent cede0804
.config/nvim/coc-settings.json +4 -0
51 51
  "rust-analyzer.lens.enable": true,
52 52
53 53
  "clangd.fallbackFlags": [
54 54
    "-x", "c"
55 55
  ],
56 +
  "clangd.arguments": [
57 +
    "-header-insertion=never",
58 +
    "-suggest-missing-includes=false"
59 +
  ],
56 60
57 61
  "list.maxHeight": 10,
58 62
  "list.autoResize": false,
59 63
  "list.extendedSearchMode": false,
60 64
.dircolors +28 -28
52 52
STICKY_OTHER_WRITABLE 00               # dir that is sticky and other-writable (+t,o+w)
53 53
OTHER_WRITABLE 00                      # dir that is other-writable (o+w) and not sticky
54 54
STICKY 00                              # dir with the sticky bit set (+t) and not other-writable
55 55
EXEC 00;32;5;64                        # This is for files with execute permission:
56 56
57 -
## Archives or compressed (violet + bold for compression)
58 -
#
59 -
.tar    00;35
60 -
.tgz    00;35
61 -
.lzh    00;35
62 -
.lzma   00;35
63 -
.tlz    00;35
64 -
.txz    00;35
65 -
.zip    00;35
66 -
.z      00;35
67 -
.Z      00;35
68 -
.dz     00;35
69 -
.gz     00;35
70 -
.lz     00;35
71 -
.xz     00;35
72 -
.bz2    00;35
73 -
.bz     00;35
74 -
.tbz    00;35
75 -
.tbz2   00;35
76 -
.tz     00;35
77 -
.deb    00;35
78 -
.jar    00;35
79 -
.rar    00;35
80 -
.7z     00;35
81 -
.rz     00;35
82 -
.apk    00;35
83 -
.gem    00;35
84 -
.pdf    00;35
57 +
## Archives or compressed
58 +
59 +
.tar    00;37
60 +
.tgz    00;37
61 +
.lzh    00;37
62 +
.lzma   00;37
63 +
.tlz    00;37
64 +
.txz    00;37
65 +
.zip    00;37
66 +
.z      00;37
67 +
.Z      00;37
68 +
.dz     00;37
69 +
.gz     00;37
70 +
.lz     00;37
71 +
.xz     00;37
72 +
.bz2    00;37
73 +
.bz     00;37
74 +
.tbz    00;37
75 +
.tbz2   00;37
76 +
.tz     00;37
77 +
.deb    00;37
78 +
.jar    00;37
79 +
.rar    00;37
80 +
.7z     00;37
81 +
.rz     00;37
82 +
.apk    00;37
83 +
.gem    00;37
84 +
.pdf    00;37
85 85
86 86
# Image formats (yellow)
87 87
.jpg    00;36;5;136
88 88
.jpeg   00;36;5;136
89 89
.gif    00;36;5;136
.vimrc +0 -3
429 429
  nmap <silent> gj           <Plug>(coc-diagnostic-next)
430 430
  nmap <silent> gk           <Plug>(coc-diagnostic-prev)
431 431
  nmap <silent> <leader>/    :CocList --interactive symbols<CR>
432 432
  nmap <silent> <leader>r    <Plug>(coc-rename)
433 433
434 -
  " Auto-format C files.
435 -
  autocmd BufWritePre *.c,*.h :call CocAction('format')
436 -
437 434
  " Use K to show documentation in preview window
438 435
  nnoremap <silent> K :call <SID>show_documentation()<CR>
439 436
440 437
  function! s:show_documentation()
441 438
    if (index(['vim','help'], &filetype) >= 0)