summaryrefslogtreecommitdiff
path: root/.vim/ftplugin/vhdl.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/ftplugin/vhdl.vim')
-rw-r--r--.vim/ftplugin/vhdl.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/.vim/ftplugin/vhdl.vim b/.vim/ftplugin/vhdl.vim
new file mode 100644
index 0000000..5c27d4c
--- /dev/null
+++ b/.vim/ftplugin/vhdl.vim
@@ -0,0 +1,15 @@
+setlocal textwidth=0
+setlocal shiftwidth=2
+setlocal tabstop=2
+setlocal expandtab
+
+" abbreviations
+iabbr dt downto
+iabbr sig signal
+iabbr sl std_logic
+iabbr slv std_logic_vector
+iabbr uns unsigned
+iabbr toi to_integer
+iabbr tos to_signed
+iabbr tou to_unsigned
+