Add support for opening word documents via pandoc
diff --git a/modules/documents.nix b/modules/documents.nix
new file mode 100644
index 0000000..9fa7d51
--- /dev/null
+++ b/modules/documents.nix
@@ -0,0 +1,3 @@
+{pkgs, ...}: {
+  home.home.packages = [pkgs.pandoc];
+}
diff --git a/modules/neovim/support/default.nix b/modules/neovim/support/default.nix
new file mode 100644
index 0000000..61cea23
--- /dev/null
+++ b/modules/neovim/support/default.nix
@@ -0,0 +1,6 @@
+{pkgs, ...}: {
+  programs.neovim = {
+    extraPackages = [pkgs.pandoc];
+    extraConfig = builtins.readFile ./filetypes.vim;
+  };
+}
diff --git a/modules/neovim/support/filetypes.vim b/modules/neovim/support/filetypes.vim
new file mode 100644
index 0000000..fd08a6f
--- /dev/null
+++ b/modules/neovim/support/filetypes.vim
@@ -0,0 +1,6 @@
+augroup docx
+autocmd!
+  autocmd BufReadPre *.docx silent set ro
+  autocmd BufEnter *.docx silent set modifiable
+  autocmd BufEnter *.docx silent %!pandoc -f docx -t markdown --wrap=preserve "%"
+augroup END