콘텐츠로 이동
Search

Vim:Colorscheme

lastmod 2026-11-10created 2015-02-177 edits

Vim colorscheme(색 구성표)은 Vim 의 문법 강조 그룹(Comment, String, Keyword 등)과 UI 요소마다 어떤 색과 속성을 쓸지 정의한 Vim 스크립트이다. colors/ 디렉터리에 두고 :colorscheme 명령으로 적용하며, 내부는 highlight 명령의 나열이다. 터미널 색 수에 따라 결과가 달라지고, 기본 문법 파일에 없는 요소는 syn match 로 그룹을 추가한 뒤 색을 지정해 강조할 수 있다.

Python 키워드 인자에 색상주기

syn region FCall start='[[:alpha:]_]\i*\s*(' end=')' contains=FCall,FCallKeyword
syn match FCallKeyword /\i*\ze\s*=[^=]/ contained
hi FCallKeyword ctermfg=yellow

See also

Favorite site

author Zer0, MCPBot sitemap