default-config.lua 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. CONFIG_PATH = vim.fn.stdpath('config')
  2. DATA_PATH = vim.fn.stdpath('data')
  3. CACHE_PATH = vim.fn.stdpath('cache')
  4. O = {
  5. auto_close_tree = 0,
  6. auto_complete = true,
  7. colorscheme = 'lunar',
  8. hidden_files = true,
  9. wrap_lines = false,
  10. number = true,
  11. relative_number = true,
  12. cursorline = true,
  13. shell = 'bash',
  14. timeoutlen = 100,
  15. nvim_tree_disable_netrw = 0,
  16. extras = false,
  17. -- @usage pass a table with your desired languages
  18. treesitter = {
  19. ensure_installed = "all",
  20. ignore_install = {"haskell"},
  21. highlight = {enabled = true},
  22. playground = {enabled = true},
  23. rainbow = {enabled = false}
  24. },
  25. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  26. plugin = {
  27. hop = {active = false},
  28. dial = {active = false},
  29. dashboard = {active = false},
  30. matchup = {active = false},
  31. colorizer = {active = false},
  32. numb = {active = false}
  33. },
  34. lang = {
  35. python = {
  36. active = false,
  37. linter = '',
  38. -- @usage can be 'yapf', 'black'
  39. formatter = '',
  40. autoformat = false,
  41. isort = false,
  42. diagnostics = {
  43. virtual_text = {spacing = 0, prefix = ""},
  44. signs = true,
  45. underline = true
  46. },
  47. analysis = {
  48. type_checking = "basic",
  49. auto_search_paths = true,
  50. use_library_code_types = true
  51. }
  52. },
  53. dart = {
  54. active = false,
  55. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  56. },
  57. lua = {
  58. active = false,
  59. -- @usage can be 'lua-format'
  60. formatter = '',
  61. autoformat = false,
  62. diagnostics = {
  63. virtual_text = {spacing = 0, prefix = ""},
  64. signs = true,
  65. underline = true
  66. }
  67. },
  68. sh = {
  69. active = false,
  70. -- @usage can be 'shellcheck'
  71. linter = '',
  72. -- @usage can be 'shfmt'
  73. formatter = '',
  74. autoformat = false,
  75. diagnostics = {
  76. virtual_text = {spacing = 0, prefix = ""},
  77. signs = true,
  78. underline = true
  79. }
  80. },
  81. tsserver = {
  82. active = false,
  83. -- @usage can be 'eslint'
  84. linter = '',
  85. -- @usage can be 'prettier'
  86. formatter = '',
  87. autoformat = false,
  88. diagnostics = {
  89. virtual_text = {spacing = 0, prefix = ""},
  90. signs = true,
  91. underline = true
  92. }
  93. },
  94. json = {
  95. active = false,
  96. -- @usage can be 'prettier'
  97. formatter = '',
  98. autoformat = false,
  99. diagnostics = {
  100. virtual_text = {spacing = 0, prefix = ""},
  101. signs = true,
  102. underline = true
  103. }
  104. },
  105. tailwindcss = {
  106. active = false,
  107. filetypes = {
  108. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  109. 'typescript', 'typescriptreact'
  110. }
  111. },
  112. clang = {
  113. active = false,
  114. diagnostics = {
  115. virtual_text = {spacing = 0, prefix = ""},
  116. signs = true,
  117. underline = true
  118. }
  119. },
  120. ruby = {
  121. active = false,
  122. diagnostics = {
  123. virtualtext = {spacing = 0, prefix = ""},
  124. signs = true,
  125. underline = true
  126. },
  127. filetypes = {'rb', 'erb', 'rakefile'}
  128. },
  129. go = {active = false},
  130. elixer = {active = false},
  131. vim = {active = false},
  132. yaml = {active = false},
  133. terraform = {active = false},
  134. rust = {active = false},
  135. svelte = {active = false},
  136. php = {active = false},
  137. latex = {active = false},
  138. kotlin = {active = false},
  139. html = {active = false},
  140. elm = {active = false},
  141. emmet = {active = false},
  142. graphql = {active = false},
  143. efm = {active = true},
  144. docker = {active = false},
  145. cmake = {active = false},
  146. java = {active = false},
  147. css = {
  148. active = false,
  149. formatter = '',
  150. autoformat = false,
  151. virtual_text = true
  152. }
  153. },
  154. dashboard = {
  155. custom_header = {
  156. ' _..._ ',
  157. ' .\' (_`. _ __ ___ ',
  158. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  159. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  160. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  161. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  162. },
  163. footer = {'chrisatmachine.com'}
  164. }
  165. }