code: def initialize(self):
          
          # TODO: This seems wrong, the user setting value is never used anywhere.
          if 'EnErrorStyle' not in self._vim.vars:
              self._vim.vars['EnErrorStyle'] = 'EnError'
          self._vim.command('highlight EnErrorStyle ctermbg=red gui=underline')
  
          # TODO: this SHOULD be a buffer-local setting only, and since it should
          # apply to all Scala files, ftplugin is the ideal place to set it. I'm
          # not even sure how this is currently working when only set once.
          self._vim.command('set omnifunc=EnCompleteFunc')
  
          # TODO: custom filetype ftplugin
          self._vim.command(
              'autocmd FileType package_info nnoremap <buffer> <Space> :call EnPackageDecl()<CR>')
          self._vim.command('autocmd FileType package_info setlocal splitright')
docs: Sets up initial ensime-vim editor settings.