diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2023-08-03 09:39:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2023-08-03 09:39:28 +1200 |
commit | be48618896bdfd0b238b19cae609a6da48c358be (patch) | |
tree | faac1db499973c99a58655c3ff2c139ccb8a2f67 /vim/filetype.vim | |
parent | Merge branch 'release/v12.40.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-master.tar.gz dotfiles-master.zip |
* release/v12.41.0:
Handle unset b:undo_ftplugin in Python Vim
Add Vim filetype detection for Rust
Set exports filetype in Vim
Add missing comment to filetype.vim
Correct double-up in Vim python 'equalprg'
Add keybinding for rofi password-store login
Add username-typing to rofi password-store script
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r-- | vim/filetype.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim index 4b0a5702..eea7f1f5 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -73,6 +73,7 @@ augroup filetypedetect \ sources.list \,*/etc/apt/sources.list.d/*.list \ setfiletype debsources + " Desktop files autocmd BufNewFile,BufRead \ ?*.desktop \,?*.directory @@ -94,6 +95,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ ?*.dot \ setfiletype dot + " NFS exports + autocmd BufNewFile,BufRead + \ exports + \ setfiletype exports " Forth autocmd BufNewFile,BufRead \ ?*.fs,?*.ft @@ -363,6 +368,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ ?*.rb \ setfiletype ruby + " Rust + autocmd BufNewFile,BufRead + \ ?*.rs + \ setfiletype rust " Samba config autocmd BufNewFile,BufRead \ smb.conf |