Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <style>
- body {
- background-color: #555555;
- }
- </style>
- <title>title</title>
- </head>
- <body>
- <p>Hello, World!</p>
- <div>
- <script>
- console.log("Why does it indent like that?!");
- console.log("Now it when to the left?!");
- </script>
- </div>
- <script>
- console.log("???");
- </script>
- <p>This was written in vim</p>
- <script>
- console.log("Script tags seems to sometimes indent backwards and sometimes not indent without a visible pattern.");
- </script>
- </body>
- </html>
- <script>
- console.log("now the script tag indented?!");
- </script>
- set nocompatible " be iMproved, required
- filetype off " required
- " set the runtime path to include Vundle and initialize
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " alternatively, pass a path where Vundle should install plugins
- "call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required
- Plugin 'VundleVim/Vundle.vim'
- Plugin 'othree/html5.vim'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent on " required
- " To ignore plugin indent changes, instead use:
- "filetype plugin on
- "
- " Brief help
- " :PluginList - lists configured plugins
- " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
- " :PluginSearch foo - searches for foo; append `!` to refresh local cache
- " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
- "
- " see :h vundle for more details or wiki for FAQ
- " Put your non-Plugin stuff after this line
- map <F2> :source $MYVIMRC<CR>:echoe "Vimrc Reloaded!!!"<CR>
- set clipboard=unnamedplus
- syntax on
- packadd! onedark.vim
- let g:onedark_termcolors=16
- colorscheme onedark
- hi Normal ctermbg=none
- highlight NonText ctermbg=none
- filetype plugin indent on
- set smartindent
Add Comment
Please, Sign In to add comment