summaryrefslogtreecommitdiff
path: root/fnl/settings
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:23:59 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:23:59 +0200
commit936272fc2a5ae07470816d1b63f79bfadb3ef979 (patch)
treee040dcaf94b2199664847bf6521621538f316399 /fnl/settings
parent143d0de99399e9d6b4779ebd91a1cbcee5df5dd5 (diff)
fix: typo bugs
Diffstat (limited to 'fnl/settings')
-rw-r--r--fnl/settings/keymaps.fnl2
-rw-r--r--fnl/settings/options.fnl2
2 files changed, 2 insertions, 2 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index 70f8896..ae4ff2b 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -52,4 +52,4 @@
;; Move text up and down
(map "v" "<A-j>" ":m .+1<CR>==" opts)
(map "v" "<A-k>" ":m .-2<CR>==" opts)
-(map "v" "p" '"_dP' opts)
+(map "v" "p" "\"_dP" opts)
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index a7bfb44..3c2e548 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -42,7 +42,7 @@
(defn- apply-opts [opts]
(each [k v (pairs opts)]
- (set vim.opt[k] v)))
+ (set vim.opt.k v)))
(set vim.cmd "set whichwrap+=<,>,[,],h,l")
(set vim.cmd [[set iskeyword+=-]])