小编gre*_*yer的帖子

为什么 vim 不为 html 缩进两个空格?

所以我正在尝试为 python 和 web 开发设置我的 vimrc。这就是我的 vimrc 的样子。

"--------------vundle------------------------
set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

"add plugins here
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-surround'
Plugin 'itchyny/lightline.vim'

call vundle#end()
filetype plugin indent on
"------------------end of vundle-------------------

"--------------python development-----------------
"PEP8 python indentation and formatting
au BufNewFile,BufREad *.py
    \ set tabstop=4
    \ set softtabstop=4
    \ set shiftwidth=4
    \ set textwidth=79
    \ set expandtab
    \ set autoindent
    \set fileformat=unix

let python_highlight_all=1
syntax on

"---------------web development------------------
"basic tab spacing for html, css and js
au …
Run Code Online (Sandbox Code Playgroud)

html vim

3
推荐指数
1
解决办法
1301
查看次数

标签 统计

html ×1

vim ×1