default-config.lua 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. rainbow = {enabled = false}
  23. },
  24. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  25. plugin = {
  26. hop = {active = false},
  27. dial = {active = false},
  28. dashboard = {active = false},
  29. matchup = {active = false},
  30. colorizer = {active = false},
  31. numb = {active = false},
  32. zen = {active = false},
  33. ts_playground = {active = false},
  34. indent_line = {active = false},
  35. ts_context_commentstring = {active = false},
  36. symbol_outline = {active = false},
  37. debug = {active = false},
  38. bqf = {active = false},
  39. trouble = {active = false},
  40. floatterm = {active = false},
  41. spectre = {active = false},
  42. lsp_rooter = {active = false},
  43. markdown_preview = {active = false},
  44. codi = {active = false},
  45. telescope_fzy = {active = false},
  46. sanegx = {active = false},
  47. todo_comments = {active = false},
  48. lsp_colors = {active = false},
  49. git_blame = {active = false},
  50. gitlinker = {active = false},
  51. telescope_project = {active = false}
  52. },
  53. lang = {
  54. python = {
  55. active = false,
  56. linter = '',
  57. -- @usage can be 'yapf', 'black'
  58. formatter = '',
  59. autoformat = false,
  60. isort = false,
  61. diagnostics = {
  62. virtual_text = {spacing = 0, prefix = ""},
  63. signs = true,
  64. underline = true
  65. },
  66. analysis = {
  67. type_checking = "basic",
  68. auto_search_paths = true,
  69. use_library_code_types = true
  70. }
  71. },
  72. dart = {
  73. active = false,
  74. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  75. },
  76. lua = {
  77. active = false,
  78. -- @usage can be 'lua-format'
  79. formatter = '',
  80. autoformat = false,
  81. diagnostics = {
  82. virtual_text = {spacing = 0, prefix = ""},
  83. signs = true,
  84. underline = true
  85. }
  86. },
  87. sh = {
  88. active = false,
  89. -- @usage can be 'shellcheck'
  90. linter = '',
  91. -- @usage can be 'shfmt'
  92. formatter = '',
  93. autoformat = false,
  94. diagnostics = {
  95. virtual_text = {spacing = 0, prefix = ""},
  96. signs = true,
  97. underline = true
  98. }
  99. },
  100. tsserver = {
  101. active = false,
  102. -- @usage can be 'eslint'
  103. linter = '',
  104. -- @usage can be 'prettier'
  105. formatter = '',
  106. autoformat = false,
  107. diagnostics = {
  108. virtual_text = {spacing = 0, prefix = ""},
  109. signs = true,
  110. underline = true
  111. }
  112. },
  113. json = {
  114. active = false,
  115. -- @usage can be 'prettier'
  116. formatter = '',
  117. autoformat = false,
  118. diagnostics = {
  119. virtual_text = {spacing = 0, prefix = ""},
  120. signs = true,
  121. underline = true
  122. }
  123. },
  124. tailwindcss = {
  125. active = false,
  126. filetypes = {
  127. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  128. 'typescript', 'typescriptreact'
  129. }
  130. },
  131. clang = {
  132. active = false,
  133. diagnostics = {
  134. virtual_text = {spacing = 0, prefix = ""},
  135. signs = true,
  136. underline = true
  137. }
  138. },
  139. ruby = {
  140. active = false,
  141. diagnostics = {
  142. virtualtext = {spacing = 0, prefix = ""},
  143. signs = true,
  144. underline = true
  145. },
  146. filetypes = {'rb', 'erb', 'rakefile'}
  147. },
  148. go = {active = false},
  149. elixer = {active = false},
  150. vim = {active = false},
  151. yaml = {active = false},
  152. terraform = {active = false},
  153. rust = {active = false},
  154. svelte = {active = false},
  155. php = {active = false},
  156. latex = {active = false},
  157. kotlin = {active = false},
  158. html = {active = false},
  159. elm = {active = false},
  160. emmet = {active = false},
  161. graphql = {active = false},
  162. efm = {active = true},
  163. docker = {active = false},
  164. cmake = {active = false},
  165. java = {active = false},
  166. css = {
  167. active = false,
  168. formatter = '',
  169. autoformat = false,
  170. virtual_text = true
  171. }
  172. },
  173. dashboard = {
  174. custom_header = {
  175. ' _..._ ',
  176. ' .\' (_`. _ __ ___ ',
  177. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  178. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  179. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  180. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  181. },
  182. footer = {'chrisatmachine.com'}
  183. }
  184. }