Guest User

Untitled

a guest
May 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <style>
  6. body {
  7. background-color: #555555;
  8. }
  9. </style>
  10. <title>title</title>
  11. </head>
  12.  
  13. <body>
  14. <p>Hello, World!</p>
  15. <div>
  16. <script>
  17. console.log("Why does it indent like that?!");
  18. console.log("Now it when to the left?!");
  19. </script>
  20. </div>
  21. <script>
  22. console.log("???");
  23. </script>
  24. <p>This was written in vim</p>
  25. <script>
  26. console.log("Script tags seems to sometimes indent backwards and sometimes not indent without a visible pattern.");
  27. </script>
  28. </body>
  29. </html>
  30. <script>
  31. console.log("now the script tag indented?!");
  32. </script>
  33.  
  34. set nocompatible " be iMproved, required
  35. filetype off " required
  36.  
  37. " set the runtime path to include Vundle and initialize
  38. set rtp+=~/.vim/bundle/Vundle.vim
  39. call vundle#begin()
  40. " alternatively, pass a path where Vundle should install plugins
  41. "call vundle#begin('~/some/path/here')
  42.  
  43. " let Vundle manage Vundle, required
  44. Plugin 'VundleVim/Vundle.vim'
  45.  
  46. Plugin 'othree/html5.vim'
  47. " All of your Plugins must be added before the following line
  48. call vundle#end() " required
  49. filetype plugin indent on " required
  50. " To ignore plugin indent changes, instead use:
  51. "filetype plugin on
  52. "
  53. " Brief help
  54. " :PluginList - lists configured plugins
  55. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  56. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  57. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  58. "
  59. " see :h vundle for more details or wiki for FAQ
  60. " Put your non-Plugin stuff after this line
  61. map <F2> :source $MYVIMRC<CR>:echoe "Vimrc Reloaded!!!"<CR>
  62. set clipboard=unnamedplus
  63. syntax on
  64. packadd! onedark.vim
  65. let g:onedark_termcolors=16
  66. colorscheme onedark
  67. hi Normal ctermbg=none
  68. highlight NonText ctermbg=none
  69. filetype plugin indent on
  70. set smartindent
Add Comment
Please, Sign In to add comment