2018-04-30 09:34:41 |
dopek |
description |
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.
[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]
:script
1: /usr/share/vim/vimrc
2: /usr/share/vim/vim80/debian.vim
3: /usr/share/vim/vim80/syntax/syntax.vim
4: /usr/share/vim/vim80/syntax/synload.vim
5: /usr/share/vim/vim80/syntax/syncolor.vim
6: /usr/share/vim/vim80/filetype.vim
7: /usr/share/vim/vim80/defaults.vim
8: /usr/share/vim/vim80/syntax/nosyntax.vim
9: /usr/share/vim/vim80/ftplugin.vim
10: /usr/share/vim/vim80/indent.vim
11: /usr/share/vim/vim80/plugin/getscriptPlugin.vim
12: /usr/share/vim/vim80/plugin/gzip.vim
13: /usr/share/vim/vim80/plugin/logiPat.vim
14: /usr/share/vim/vim80/plugin/manpager.vim
15: /usr/share/vim/vim80/plugin/matchparen.vim
16: /usr/share/vim/vim80/plugin/netrwPlugin.vim
17: /usr/share/vim/vim80/plugin/rrhelper.vim
18: /usr/share/vim/vim80/plugin/spellfile.vim
19: /usr/share/vim/vim80/plugin/tarPlugin.vim
20: /usr/share/vim/vim80/plugin/tohtml.vim
21: /usr/share/vim/vim80/plugin/vimballPlugin.vim
22: /usr/share/vim/vim80/plugin/zipPlugin.vim
Press ENTER or type command to continue
:verbose hi
.
.
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/vim/vim80/syntax/syncolor.vim
.
.
[strace log]
255 stat("/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
256 openat(AT_FDCWD, "/usr/share/vim/vimrc", O_RDONLY) = 3
257 fcntl(3, F_GETFD) = 0
258 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
259 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
260 stat("/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
[tree]
root@ubuntu-18:/usr/share/vim# tree -L 2
.
├── 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 |
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.
[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]
:script
1: /usr/share/vim/vimrc
2: /usr/share/vim/vim80/debian.vim
3: /usr/share/vim/vim80/syntax/syntax.vim
4: /usr/share/vim/vim80/syntax/synload.vim
5: /usr/share/vim/vim80/syntax/syncolor.vim
6: /usr/share/vim/vim80/filetype.vim
7: /usr/share/vim/vim80/defaults.vim
8: /usr/share/vim/vim80/syntax/nosyntax.vim
9: /usr/share/vim/vim80/ftplugin.vim
10: /usr/share/vim/vim80/indent.vim
11: /usr/share/vim/vim80/plugin/getscriptPlugin.vim
12: /usr/share/vim/vim80/plugin/gzip.vim
13: /usr/share/vim/vim80/plugin/logiPat.vim
14: /usr/share/vim/vim80/plugin/manpager.vim
15: /usr/share/vim/vim80/plugin/matchparen.vim
16: /usr/share/vim/vim80/plugin/netrwPlugin.vim
17: /usr/share/vim/vim80/plugin/rrhelper.vim
18: /usr/share/vim/vim80/plugin/spellfile.vim
19: /usr/share/vim/vim80/plugin/tarPlugin.vim
20: /usr/share/vim/vim80/plugin/tohtml.vim
21: /usr/share/vim/vim80/plugin/vimballPlugin.vim
22: /usr/share/vim/vim80/plugin/zipPlugin.vim
Press ENTER or type command to continue
:verbose hi
.
.
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/vim/vim80/syntax/syncolor.vim
.
.
[strace log]
255 stat("/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
256 openat(AT_FDCWD, "/usr/share/vim/vimrc", O_RDONLY) = 3
257 fcntl(3, F_GETFD) = 0
258 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
259 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
260 stat("/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
[tree]
root@ubuntu-18:/usr/share/vim# tree -L 2
.
├── 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 |
|