Ver código fonte

nixpkgs/neovim: support elvish in plenary.filetype

Among other things, this allows it to be properly highlighted in
telescope.
Thomas Dy 10 meses atrás
pai
commit
d01bc4b9ca
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      .config/nixpkgs/neovim/plugins.lua

+ 7 - 0
.config/nixpkgs/neovim/plugins.lua

@@ -1,3 +1,10 @@
+-- add extra filetypes for plenary
+require('plenary.filetype').add_table({
+  extension = {
+    ['elv'] = [[elvish]]
+  }
+})
+
 -- file/buffer/etc picker
 require('telescope').setup({
   defaults = {