Suppose that $f(x)$ is $L^1$ and R- integrable function, problem is to resolve if it is possible existence of such a $f(x)$ that: $$\lim_{\omega \to \infty } \, \int_{-\infty }^{+\infty } f(x) e^{-i x \omega } \, dx\neq 0$$
All math tricks acceptable.
For any $f \in L^1$ we have
$$\lim_{\omega \to \infty} \underbrace{\int_{\mathbb{R}} f(x) \cdot e^{-\imath \, x \omega} \, dx}_{=:\hat{f}(\omega)} = 0, \tag{1}$$
this result is known as Riemann-Lebesgue lemma.
As $f \in L^1$ we can choose a sequence $(f_n)_{n \in \mathbb{N}}$ of simple functions such that $f_n \stackrel{L^1}{\to} f$. Since $\|\hat{g}\|_{\infty} \leq \|g\|_{L^1}$ for any $g \in L^1$, we get by the triangle inequality
$$\begin{align*} |\hat{f}(\omega)| &\leq |\hat{f}(\omega)-\hat{f}_n(\omega)|+|\hat{f}_n(\omega)| \leq \|f_n-f\|_{L^1} + |\hat{f}_n(\omega)|\end{align*}$$
for all $\omega \in \mathbb{R}$. By virtue of our choice, $\|f_n-f\|_{L^1} \to 0$ as $n \to \infty$. Therefore, we see that it suffices to prove $(1)$ for simple functions. So let
$$f(x) = \sum_{j=1}^n c_j \cdot 1_{[x_j,x_{j+1}]}$$
for some constants $c_j \in \mathbb{R}$, $x_j<x_{j+1}$, $j=1,\ldots,n$. Then,
$$\hat{f}(\omega) = \sum_{j=1}^n c_j \int_{x_j}^{x_{j+1}} e^{-\imath \, x \omega} \, dx = \sum_{j=1}^n \frac{c_j}{-\imath \omega} \bigg( e^{-\imath \, x_{j+1} \omega}-e^{-\imath \, x_j \omega} \bigg) \stackrel{\omega \to \infty}{\to} 0,$$
i.e. $(1)$ holds. This finishes the proof.