18.04 was newly installed.
and i applied "highlight Comment temp=bold cterm=bold ctermfg=4" to the /etc/vim/vimrc but it doesn't work.
i also tried to /etc/vim/vimrc.local, but it was the same way.
[vim packages]
root@ubuntu-18:~# dpkg -l | grep vim
ii vim 2:8.0.1453-1ubuntu1 amd64 Vi IMproved - enhanced vi editor
ii vim-common 2:8.0.1453-1ubuntu1 all Vi IMproved - Common files
ii vim-runtime 2:8.0.1453-1ubuntu1 all Vi IMproved - Runtime files
ii vim-tiny 2:8.0.1453-1ubuntu1 amd64 Vi IMproved - enhanced vi editor - compact version
18.04 was newly installed. vimrc.local, but it was the same way.
and i applied "highlight Comment temp=bold cterm=bold ctermfg=4" to the /etc/vim/vimrc but it doesn't work.
i also tried to /etc/vim/
[ubuntu version]
root@ubuntu-18:~# lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04
[vim packages]
root@ubuntu-18:~# dpkg -l | grep vim
ii vim 2:8.0.1453-1ubuntu1 amd64 Vi IMproved - enhanced vi editor
ii vim-common 2:8.0.1453-1ubuntu1 all Vi IMproved - Common files
ii vim-runtime 2:8.0.1453-1ubuntu1 all Vi IMproved - Runtime files
ii vim-tiny 2:8.0.1453-1ubuntu1 amd64 Vi IMproved - enhanced vi editor - compact version
[vim] vim/vimrc vim/vim80/ debian. vim vim/vim80/ syntax/ syntax. vim vim/vim80/ syntax/ synload. vim vim/vim80/ syntax/ syncolor. vim vim/vim80/ filetype. vim vim/vim80/ defaults. vim vim/vim80/ syntax/ nosyntax. vim vim/vim80/ ftplugin. vim vim/vim80/ indent. vim vim/vim80/ plugin/ getscriptPlugin .vim vim/vim80/ plugin/ gzip.vim vim/vim80/ plugin/ logiPat. vim vim/vim80/ plugin/ manpager. vim vim/vim80/ plugin/ matchparen. vim vim/vim80/ plugin/ netrwPlugin. vim vim/vim80/ plugin/ rrhelper. vim vim/vim80/ plugin/ spellfile. vim vim/vim80/ plugin/ tarPlugin. vim vim/vim80/ plugin/ tohtml. vim vim/vim80/ plugin/ vimballPlugin. vim vim/vim80/ plugin/ zipPlugin. vim
:script
1: /usr/share/
2: /usr/share/
3: /usr/share/
4: /usr/share/
5: /usr/share/
6: /usr/share/
7: /usr/share/
8: /usr/share/
9: /usr/share/
10: /usr/share/
11: /usr/share/
12: /usr/share/
13: /usr/share/
14: /usr/share/
15: /usr/share/
16: /usr/share/
17: /usr/share/
18: /usr/share/
19: /usr/share/
20: /usr/share/
21: /usr/share/
22: /usr/share/
Press ENTER or type command to continue
:verbose hi vim/vim80/ syntax/ syncolor. vim
.
.
ToolbarLine xxx term=underline ctermbg=7 guibg=LightGrey
ToolbarButton xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White guibg=Grey40
Comment xxx term=bold ctermfg=4 guifg=Blue
Last set from /usr/share/
.
.
[strace log] usr/share/ vim/vimrc" , {st_dev=makedev(8, 4), st_ino=131954, st_mode= S_IFREG| 0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2518, st_atime=1525070141 /* 2018-04- 30T06:35: 41.781044437+ 0000 */, st_atime_ nsec=781044437, st_mtime=1525070124 /* 2018-04- 30T06:35: 24.336988026+ 0000 */, st_mtime_nse c=336988026, st_ctime=1525070124 /* 2018-04- 30T06:35: 24.396988255+ 0000 */, st_ctime_ nsec=396988255} ) = 0 vim/vimrc" , O_RDONLY) = 3 O_LARGEFILE) usr/share/ vim/vimrc" , {st_dev=makedev(8, 4), st_ino=131954, st_mode= S_IFREG| 0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=2518, st_atime=1525070141 /* 2018-04- 30T06:35: 41.781044437+ 0000 */, st_atime_ nsec=781044437, st_mtime=1525070124 /* 2018-04- 30T06:35: 24.336988026+ 0000 */, st_mtime_nse c=336988026, st_ctime=1525070124 /* 2018-04- 30T06:35: 24.396988255+ 0000 */, st_ctime_ nsec=396988255} ) = 0
255 stat("/
256 openat(AT_FDCWD, "/usr/share/
257 fcntl(3, F_GETFD) = 0
258 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
259 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|
260 stat("/
[tree] 18:/usr/ share/vim# tree -L 2
root@ubuntu-
.
├── addons
│ └── plugin
├── registry
│ └── vim-runtime.yaml
├── vim80
│ ├── autoload
│ ├── bugreport.vim
│ ├── colors
│ ├── compiler
│ ├── debian.vim
│ ├── defaults.vim
│ ├── delmenu.vim
│ ├── doc
│ ├── evim.vim
│ ├── filetype.vim
│ ├── ftoff.vim
│ ├── ftplugin
│ ├── ftplugin.vim
│ ├── ftplugof.vim
│ ├── gvimrc_example.vim
│ ├── indent
│ ├── indent.vim
│ ├── indoff.vim
│ ├── keymap
│ ├── lang
│ ├── macros
│ ├── menu.vim
│ ├── mswin.vim
│ ├── optwin.vim
│ ├── pack
│ ├── plugin
│ ├── print
│ ├── rgb.txt
│ ├── scripts.vim
│ ├── spell
│ ├── synmenu.vim
│ ├── syntax
│ ├── tutor
│ └── vimrc_example.vim
├── vimfiles -> /etc/vim
├── vimrc -> /etc/vim/vimrc
└── vimrc.tiny -> /etc/vim/vimrc.tiny