Explorar o código

Typo (#924)

Fixed : E5108: Error executing lua /home/qvieth/.config/nvim/ftplugin/cpp.lua:4: attempt to index field 'c' (a nil value)  while using Formatted for C
Huynh Viet %!s(int64=4) %!d(string=hai) anos
pai
achega
abab0d5e82
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      ftplugin/c.lua

+ 3 - 3
ftplugin/c.lua

@@ -1,9 +1,9 @@
 O.formatters.filetype["c"] = {
   function()
     return {
-      exe = O.lang.c.formatter.exe,
-      args = O.lang.c.formatter.args,
-      stdin = not (O.lang.c.formatter.stdin ~= nil),
+      exe = O.lang.clang.formatter.exe,
+      args = O.lang.clang.formatter.args,
+      stdin = not (O.lang.clang.formatter.stdin ~= nil),
     }
   end,
 }