erlang stuff
This commit is contained in:
parent
1eba9a9c24
commit
93389b7a1c
3 changed files with 20 additions and 0 deletions
4
ftplugin/erlang.lua
Normal file
4
ftplugin/erlang.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
local map = require('utils').create_buf_map(0)
|
||||
|
||||
-- easy insertion of trailing . from insert mode.
|
||||
map('i', '..', '<Esc>A.<Esc>')
|
|
@ -79,3 +79,17 @@ opt.updatetime = 100
|
|||
|
||||
-- theme
|
||||
opt.termguicolors = true
|
||||
|
||||
-- filetypes
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
vert = 'glsl',
|
||||
frag = 'glsl',
|
||||
xrl = 'erlang',
|
||||
yrl = 'erlang',
|
||||
src = 'erlang',
|
||||
},
|
||||
filename = {
|
||||
['rebar.config'] = 'erlang',
|
||||
},
|
||||
})
|
||||
|
|
|
@ -2,6 +2,8 @@ local config = {
|
|||
ensure_installed = {
|
||||
'rust',
|
||||
'css',
|
||||
'erlang',
|
||||
'elixir',
|
||||
'html',
|
||||
'javascript',
|
||||
'jsdoc',
|
||||
|
|
Loading…
Add table
Reference in a new issue