summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-04-22 15:35:28 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-22 15:35:28 +0100
commite7f05a8780426dc7af247419c6d02d5f1e896689 (patch)
tree2f52514eaf9bde52797f0d45ba037d7b1c11f8f1 /runtime
parent9be736f2eb7b3474246d644d3defe6fd126b5b18 (diff)
downloadvim-git-e7f05a8780426dc7af247419c6d02d5f1e896689.tar.gz
patch 9.0.1476: lines put in non-current window are not displayedv9.0.1476
Problem: Lines put in non-current window are not displayed. (Marius Gedminas) Solution: Don't increment the topline when inserting just above it. (closes #12212)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index bcf5a5bdb..50187f6db 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -273,6 +273,9 @@ if has("fname_case")
autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl
endif
+" Busted (Lua unit testing framework - configuration files)
+au BufNewFile,BufRead .busted setf lua
+
" C or lpc
au BufNewFile,BufRead *.c call dist#ft#FTlpc()
au BufNewFile,BufRead *.lpc,*.ulpc setf lpc