teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

8

説明を追記

2020/09/29 05:37

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -37,4 +37,109 @@
37
37
  適用済パッチ: 1-1700
38
38
  ```
39
39
 
40
- 宜しくお願いします。
40
+ 宜しくお願いします。
41
+
42
+
43
+ 追記 2020/09/29 14:34
44
+
45
+ 色味についての話があったので、参考に画像を上げておきます。
46
+
47
+ ![イメージ説明](521429fc108f5dd98001a01edfa49ac6.jpeg)
48
+
49
+ vimrcのビジュアルを設定している部分です。
50
+
51
+ ```
52
+ "*****************************************************************************
53
+ "" Visual Settings
54
+ "*****************************************************************************
55
+ syntax on
56
+ set ruler
57
+ set number
58
+
59
+ let no_buffers_menu=1
60
+
61
+ set mousemodel=popup
62
+ set t_Co=256
63
+ set guioptions=egmrti
64
+ set gfn=Monospace\ 10
65
+
66
+ if has("gui_running")
67
+ if has("gui_mac") || has("gui_macvim")
68
+ set guifont=Menlo:h12
69
+ set transparency=7
70
+ endif
71
+ else
72
+ let g:CSApprox_loaded = 1
73
+
74
+ " IndentLine
75
+ let g:indentLine_enabled = 1
76
+ let g:indentLine_concealcursor = 0
77
+ let g:indentLine_char = '┆'
78
+ let g:indentLine_faster = 1
79
+
80
+ if $COLORTERM == 'gnome-terminal'
81
+ set term=gnome-256color
82
+ else
83
+ if $TERM == 'xterm'
84
+ set term=xterm-256color
85
+ endif
86
+ endif
87
+ endif
88
+
89
+ if &term =~ '256color'
90
+ set t_ut=
91
+ endif
92
+
93
+ "" Disable the blinking cursor.
94
+ set gcr=a:blinkon0
95
+
96
+ set scrolloff=3
97
+
98
+ "" Status bar
99
+ set laststatus=2
100
+
101
+ "" Use modeline overrides
102
+ set modeline
103
+ set modelines=10
104
+
105
+ set title
106
+ set titleold="Terminal"
107
+ set titlestring=%F
108
+
109
+ set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l/%L,\ col\ %c)\
110
+
111
+ " Search mappings: These will make it so that going to the next one in a
112
+ " search will center on the line it's found in.
113
+ nnoremap n nzzzv
114
+ nnoremap N Nzzzv
115
+
116
+ if exists("*fugitive#statusline")
117
+ set statusline+=%{fugitive#statusline()}
118
+ endif
119
+
120
+
121
+ " vim-airline
122
+ let g:airline_theme = 'powerlineish'
123
+ let g:airline#extensions#branch#enabled = 1
124
+ let g:airline#extensions#ale#enabled = 1
125
+ let g:airline#extensions#tabline#enabled = 1
126
+ let g:airline#extensions#tagbar#enabled = 1
127
+ let g:airline_skip_empty_sections = 1
128
+
129
+ " Based on Vim patch 7.4.1770 (`guicolors` option) - https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd
130
+ if (has('termguicolors'))
131
+ set termguicolors
132
+ endif
133
+
134
+ let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
135
+ let g:lightline = { 'colorscheme': 'material_vim' }
136
+ let g:material_terminal_italics = 1
137
+ let g:airline_theme = 'material'
138
+
139
+ " 'default' | 'palenight' | 'ocean' | 'lighter' | 'darker'
140
+ let g:material_theme_style = 'default-community'
141
+ colorscheme material
142
+
143
+ set list
144
+ set listchars=tab:»-,trail:-,eol:↲,extends:»,precedes:«,nbsp:%
145
+ ```

7

説明を追記

2020/09/29 05:37

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -8,11 +8,12 @@
8
8
 
9
9
  ###### vimの表示
10
10
 
11
- *仮引数に色がついていません。
11
+ *仮引数の変数に色がついていません。
12
12
 
13
13
  ![イメージ説明](7a62e02da637308cd12fc48a71e7d77c.jpeg)
14
14
 
15
15
  ###### vscodeの表示
16
+ *仮引数の変数の色が赤色に設定されています。
16
17
  ![イメージ説明](53a78ec864537acf200b365c223da772.jpeg)
17
18
 
18
19
  ###### 現状のvimrcは以下です。

6

タイトルを修正

2020/09/29 02:21

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
@@ -1,1 +1,1 @@
1
- Vim colorschemeの設定で、ローカル変数と仮引数の色を変える方法を知りたい
1
+ Vim colorschemeの設定で、ローカル変数と仮引数の変数の色を別の色に設定したい
body CHANGED
File without changes

5

説明を追記

2020/09/29 02:20

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -7,6 +7,9 @@
7
7
  仮引数とローカル変数の色を変える設定方法をご存知の方、教えていただけないでしょうか。
8
8
 
9
9
  ###### vimの表示
10
+
11
+ *仮引数に色がついていません。
12
+
10
13
  ![イメージ説明](7a62e02da637308cd12fc48a71e7d77c.jpeg)
11
14
 
12
15
  ###### vscodeの表示
@@ -14,8 +17,6 @@
14
17
 
15
18
  ###### 現状のvimrcは以下です。
16
19
 
17
- *仮引数に色がついていません。
18
-
19
20
  ```
20
21
  let g:material_terminal_italics = 1
21
22
  let g:material_theme_style = 'default-community'

4

説明を追記

2020/09/29 02:18

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -14,6 +14,8 @@
14
14
 
15
15
  ###### 現状のvimrcは以下です。
16
16
 
17
+ *仮引数に色がついていません。
18
+
17
19
  ```
18
20
  let g:material_terminal_italics = 1
19
21
  let g:material_theme_style = 'default-community'

3

vimrcの内容を追記

2020/09/29 02:17

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -12,8 +12,16 @@
12
12
  ###### vscodeの表示
13
13
  ![イメージ説明](53a78ec864537acf200b365c223da772.jpeg)
14
14
 
15
- 環境は以下です。
15
+ ###### 現状のvimrcは以下です。
16
+
16
17
  ```
18
+ let g:material_terminal_italics = 1
19
+ let g:material_theme_style = 'default-community'
20
+ colorscheme material
21
+ ```
22
+
23
+ ###### 環境は以下です。
24
+ ```
17
25
  ProductName: Mac OS X
18
26
  ProductVersion: 10.15.7
19
27
  BuildVersion: 19H2

2

タグの修正

2020/09/29 02:15

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
File without changes

1

タグを変更

2020/09/29 01:38

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
File without changes