質問編集履歴
8
説明を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -77,3 +77,213 @@
|
|
77
77
|
|
78
78
|
|
79
79
|
宜しくお願いします。
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
追記 2020/09/29 14:34
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
色味についての話があったので、参考に画像を上げておきます。
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
![イメージ説明](521429fc108f5dd98001a01edfa49ac6.jpeg)
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
vimrcのビジュアルを設定している部分です。
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
```
|
102
|
+
|
103
|
+
"*****************************************************************************
|
104
|
+
|
105
|
+
"" Visual Settings
|
106
|
+
|
107
|
+
"*****************************************************************************
|
108
|
+
|
109
|
+
syntax on
|
110
|
+
|
111
|
+
set ruler
|
112
|
+
|
113
|
+
set number
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
let no_buffers_menu=1
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
set mousemodel=popup
|
122
|
+
|
123
|
+
set t_Co=256
|
124
|
+
|
125
|
+
set guioptions=egmrti
|
126
|
+
|
127
|
+
set gfn=Monospace\ 10
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
if has("gui_running")
|
132
|
+
|
133
|
+
if has("gui_mac") || has("gui_macvim")
|
134
|
+
|
135
|
+
set guifont=Menlo:h12
|
136
|
+
|
137
|
+
set transparency=7
|
138
|
+
|
139
|
+
endif
|
140
|
+
|
141
|
+
else
|
142
|
+
|
143
|
+
let g:CSApprox_loaded = 1
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
" IndentLine
|
148
|
+
|
149
|
+
let g:indentLine_enabled = 1
|
150
|
+
|
151
|
+
let g:indentLine_concealcursor = 0
|
152
|
+
|
153
|
+
let g:indentLine_char = '┆'
|
154
|
+
|
155
|
+
let g:indentLine_faster = 1
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
if $COLORTERM == 'gnome-terminal'
|
160
|
+
|
161
|
+
set term=gnome-256color
|
162
|
+
|
163
|
+
else
|
164
|
+
|
165
|
+
if $TERM == 'xterm'
|
166
|
+
|
167
|
+
set term=xterm-256color
|
168
|
+
|
169
|
+
endif
|
170
|
+
|
171
|
+
endif
|
172
|
+
|
173
|
+
endif
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
if &term =~ '256color'
|
178
|
+
|
179
|
+
set t_ut=
|
180
|
+
|
181
|
+
endif
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
"" Disable the blinking cursor.
|
186
|
+
|
187
|
+
set gcr=a:blinkon0
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
set scrolloff=3
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
"" Status bar
|
196
|
+
|
197
|
+
set laststatus=2
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
"" Use modeline overrides
|
202
|
+
|
203
|
+
set modeline
|
204
|
+
|
205
|
+
set modelines=10
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
set title
|
210
|
+
|
211
|
+
set titleold="Terminal"
|
212
|
+
|
213
|
+
set titlestring=%F
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l/%L,\ col\ %c)\
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
" Search mappings: These will make it so that going to the next one in a
|
222
|
+
|
223
|
+
" search will center on the line it's found in.
|
224
|
+
|
225
|
+
nnoremap n nzzzv
|
226
|
+
|
227
|
+
nnoremap N Nzzzv
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
if exists("*fugitive#statusline")
|
232
|
+
|
233
|
+
set statusline+=%{fugitive#statusline()}
|
234
|
+
|
235
|
+
endif
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
" vim-airline
|
242
|
+
|
243
|
+
let g:airline_theme = 'powerlineish'
|
244
|
+
|
245
|
+
let g:airline#extensions#branch#enabled = 1
|
246
|
+
|
247
|
+
let g:airline#extensions#ale#enabled = 1
|
248
|
+
|
249
|
+
let g:airline#extensions#tabline#enabled = 1
|
250
|
+
|
251
|
+
let g:airline#extensions#tagbar#enabled = 1
|
252
|
+
|
253
|
+
let g:airline_skip_empty_sections = 1
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
" Based on Vim patch 7.4.1770 (`guicolors` option) - https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd
|
258
|
+
|
259
|
+
if (has('termguicolors'))
|
260
|
+
|
261
|
+
set termguicolors
|
262
|
+
|
263
|
+
endif
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
|
268
|
+
|
269
|
+
let g:lightline = { 'colorscheme': 'material_vim' }
|
270
|
+
|
271
|
+
let g:material_terminal_italics = 1
|
272
|
+
|
273
|
+
let g:airline_theme = 'material'
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
" 'default' | 'palenight' | 'ocean' | 'lighter' | 'darker'
|
278
|
+
|
279
|
+
let g:material_theme_style = 'default-community'
|
280
|
+
|
281
|
+
colorscheme material
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
set list
|
286
|
+
|
287
|
+
set listchars=tab:»-,trail:-,eol:↲,extends:»,precedes:«,nbsp:%
|
288
|
+
|
289
|
+
```
|
7
説明を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
*仮引数に色がついていません。
|
21
|
+
*仮引数の変数に色がついていません。
|
22
22
|
|
23
23
|
|
24
24
|
|
@@ -27,6 +27,8 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
###### vscodeの表示
|
30
|
+
|
31
|
+
*仮引数の変数の色が赤色に設定されています。
|
30
32
|
|
31
33
|
![イメージ説明](53a78ec864537acf200b365c223da772.jpeg)
|
32
34
|
|
6
タイトルを修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Vim colorschemeの設定で、ローカル変数と仮引数の色を
|
1
|
+
Vim colorschemeの設定で、ローカル変数と仮引数の変数の色を別の色に設定したい。
|
test
CHANGED
File without changes
|
5
説明を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,6 +16,12 @@
|
|
16
16
|
|
17
17
|
###### vimの表示
|
18
18
|
|
19
|
+
|
20
|
+
|
21
|
+
*仮引数に色がついていません。
|
22
|
+
|
23
|
+
|
24
|
+
|
19
25
|
![イメージ説明](7a62e02da637308cd12fc48a71e7d77c.jpeg)
|
20
26
|
|
21
27
|
|
@@ -27,10 +33,6 @@
|
|
27
33
|
|
28
34
|
|
29
35
|
###### 現状のvimrcは以下です。
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
*仮引数に色がついていません。
|
34
36
|
|
35
37
|
|
36
38
|
|
4
説明を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,6 +27,10 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
###### 現状のvimrcは以下です。
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
*仮引数に色がついていません。
|
30
34
|
|
31
35
|
|
32
36
|
|
3
vimrcの内容を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,23 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
+
###### 現状のvimrcは以下です。
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
let g:material_terminal_italics = 1
|
36
|
+
|
37
|
+
let g:material_theme_style = 'default-community'
|
38
|
+
|
39
|
+
colorscheme material
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
|
44
|
+
|
29
|
-
環境は以下です。
|
45
|
+
###### 環境は以下です。
|
30
46
|
|
31
47
|
```
|
32
48
|
|
2
タグの修正
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
タグを変更
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|