diff options
| author | Huynh Viet <[email protected]> | 2021-07-14 12:43:09 +0700 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-14 01:43:09 -0400 | 
| commit | abab0d5e82e222f00944457530e42f7bed13beff (patch) | |
| tree | c455133aeb7555113c3df177155c0cbb0e9c16a6 /ftplugin | |
| parent | b6c8d4b2a23d0aa1f2bce03bd0c0a71c4ca981be (diff) | |
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
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/c.lua | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ftplugin/c.lua b/ftplugin/c.lua index 8beaae5d..bcfb8242 100644 --- a/ftplugin/c.lua +++ b/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,  } | 
