about summary refs log tree commit diff stats
path: root/src/buffer
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-12 00:22:18 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-12 00:22:18 +0100
commit4874b92f0d177c0a7e84c1dd106f9b16eec7cb05 (patch)
tree6b0b9f31ee2f9b0f6f3d88317e1d1759b4a783e6 /src/buffer
parentbce29ef14df2fc8cc4cd227d6ef5af6f16b377fd (diff)
downloadchawan-4874b92f0d177c0a7e84c1dd106f9b16eec7cb05.tar.gz
Add urlfilter
Diffstat (limited to 'src/buffer')
-rw-r--r--src/buffer/container.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim
index 691be89e..83bb6c8c 100644
--- a/src/buffer/container.nim
+++ b/src/buffer/container.nim
@@ -98,7 +98,7 @@ proc newBuffer*(dispatcher: Dispatcher, config: Config, source: BufferSource, ti
   let istream = dispatcher.forkserver.istream
   ostream.swrite(FORK_BUFFER)
   ostream.swrite(source)
-  ostream.swrite(config.getBufferConfig())
+  ostream.swrite(config.getBufferConfig(source.location))
   ostream.swrite(attrs)
   ostream.swrite(dispatcher.mainproc)
   ostream.flush()